machinereading 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e6fb44360c651b2b568f12ae6bad6e54cf0df7db
4
+ data.tar.gz: f4bf231721bc369e7766d0d33dda28d9ed3d3f95
5
+ SHA512:
6
+ metadata.gz: 8fb26fb53b20124554a5910f6c6fe3706a663bf2e2471590504cd558a47c442d9430075c002e33e92d7611341f76f5357aa0d024dee7825a7cbf25a7d8e70a95
7
+ data.tar.gz: 920162a05b65286a07e40c1226e0ecedbc11aad4fbbfd6120d47709dea23145d54f6404e005e288885d4c70eb94f4b9c716f547203e3619e09b96e243d1ad8f0
data/.gitignore ADDED
@@ -0,0 +1,24 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
23
+
24
+ .DS_Store
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in machinereading.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Andrea Mostosi
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,81 @@
1
+ # Machinereading
2
+
3
+ Ruby gem for interaction with [Machinereading.com](http://www.machinereading.com)
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```
10
+ gem 'machinereading'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ ```
16
+ $ bundle install
17
+ ```
18
+
19
+ ## Setup
20
+
21
+ Setup configuration parameters
22
+
23
+ ```
24
+ Machinereading.configure do |c|
25
+ c.api_key = "your-api-key-from-machine-reading-account"
26
+ c.endpoint = "http://www.machinereading.com"
27
+ end
28
+ ```
29
+
30
+ ## Usage
31
+
32
+
33
+ ```
34
+ element = Machinereading::Element.new("Questo è un testo di esempio", "it")
35
+ response = element.tokenizer
36
+ ```
37
+
38
+ ```
39
+ element = Machinereading::Element.new("Questo è un testo di esempio", "it")
40
+ response = element.pos_tagger_stanford # default is "vertical""
41
+ response = element.pos_tagger_stanford("horizontal")
42
+ ```
43
+
44
+ ```
45
+ element = Machinereading::Element.new("Questo è un testo di esempio", "it")
46
+ response = element.syntactic_parser_stanford
47
+ ```
48
+
49
+ ```
50
+ element = Machinereading::Element.new("Questo è un testo di esempio", "it")
51
+ response = element.lemmatizer
52
+ ```
53
+
54
+ ```
55
+ element = Machinereading::Element.new("Questo è un testo di esempio", "it")
56
+ response = element.sequence_surprisal
57
+ ```
58
+
59
+ ```
60
+ element = Machinereading::Element.new("Questo è un testo di esempio", nil)
61
+ response = element.language_detector
62
+ ```
63
+
64
+ ```
65
+ element = Machinereading::Element.new("Questo è un testo di esempio", "it")
66
+ response = element.keyword_extractor # default is 15
67
+ response = element.keyword_extractor(50)
68
+ ```
69
+
70
+ ```
71
+ element = Machinereading::Element.new("Questo è un testo di esempio", "it")
72
+ response = element.automatic_categorization
73
+ ```
74
+
75
+ ```
76
+ element = Machinereading::Element.new("Questo è un testo di esempio", "it")
77
+ response = element.voice_tags
78
+ ```
79
+
80
+
81
+
data/Rakefile ADDED
@@ -0,0 +1,5 @@
1
+ require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task default: :spec
@@ -0,0 +1,19 @@
1
+ require "machinereading/version"
2
+ require "machinereading/element"
3
+
4
+ module Machinereading
5
+
6
+ def self.configure(&block)
7
+ yield @config ||= Configuration.new
8
+ end
9
+
10
+ def self.config
11
+ @config
12
+ end
13
+
14
+ class Configuration
15
+ attr_accessor :api_key, :endpoint
16
+ end
17
+
18
+ class BadResponse < Exception; end
19
+ end
@@ -0,0 +1,72 @@
1
+ require "faraday"
2
+ require "faraday_middleware"
3
+ require "json"
4
+
5
+ module Machinereading
6
+ class Element
7
+
8
+ attr_accessor :text, :lang
9
+
10
+ def initialize(input_text, input_lang)
11
+ @text = input_text
12
+ @lang = input_lang
13
+ end
14
+
15
+ def tokenizer
16
+ call("tokenizer", text: self.text, lang: self.lang)
17
+ end
18
+
19
+ def pos_tagger_stanford(format = "vertical")
20
+ call("pos_tagger_stanford", text: self.text, lang: self.lang, format: format)
21
+ end
22
+
23
+ def syntactic_parser_stanford
24
+ call("syntactic_parser_stanford", text: self.text, lang: self.lang)
25
+ end
26
+
27
+ def lemmatizer
28
+ # replace "/" with " " to avoid problem during response split
29
+ call("lemmatizer", text: self.text.gsub("/", " "), lang: self.lang).split("/")
30
+ end
31
+
32
+ def sequence_surprisal
33
+ JSON.parse call("sequence_surprisal", text: self.text, lang: self.lang)
34
+ end
35
+
36
+ def language_detector
37
+ JSON.parse call("language_detector", text: self.text)
38
+ end
39
+
40
+ def keyword_extractor(maxRetrieve = 15)
41
+ JSON.parse call("keyword_extractor", text: self.text, lang: self.lang, maxRetrieve: maxRetrieve)
42
+ end
43
+
44
+ def automatic_categorization
45
+ JSON.parse call("automatic_categorization", text: self.text, lang: self.lang)
46
+ end
47
+
48
+ def voice_tags
49
+ JSON.parse call("voice_tags", text: self.text, lang: self.lang)
50
+ end
51
+
52
+ protected
53
+
54
+ def call(endpoint, params)
55
+ begin
56
+ params = params.merge({api_key: Machinereading.config.api_key})
57
+ conn = Faraday.new(url: Machinereading.config.endpoint) do |faraday|
58
+ faraday.request :url_encoded
59
+ # faraday.response :json, :content_type => /\bjson$/
60
+ faraday.adapter Faraday.default_adapter
61
+ end
62
+ response = conn.post "/#{endpoint}", params
63
+ response.body
64
+ rescue Exception => e
65
+ puts e.inspect
66
+ #raise Machinereading::BadResponse(response.body)
67
+ end
68
+ end
69
+
70
+ end
71
+
72
+ end
@@ -0,0 +1,3 @@
1
+ module Machinereading
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'machinereading/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "machinereading"
8
+ spec.version = Machinereading::VERSION
9
+ spec.authors = ["Andrea Mostosi"]
10
+ spec.email = ["andrea.mostosi@zenkay.net"]
11
+ spec.summary = %q{Gem for machinereading.com}
12
+ spec.description = %q{Gem for machinereading.com}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "faraday", "~> 0.9.0"
22
+ spec.add_dependency "faraday_middleware", "~> 0.9.1"
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.6"
25
+ spec.add_development_dependency "rspec"
26
+ spec.add_development_dependency "rake"
27
+ spec.add_development_dependency "vcr"
28
+ spec.add_development_dependency "webmock"
29
+ spec.add_development_dependency "simplecov"
30
+ end
@@ -0,0 +1,624 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://www.machinereading.com/sequence_surprisal
6
+ body:
7
+ encoding: UTF-8
8
+ string: api_key=uf8t28vY4U6w0cU7269O0zORI4h5yz7uhfzBmvBUPJeSVlvmJE&lang=it&text=Mio+padre+che+mi+spinge+a+mangiare+e+guai+se+non+finisco+mio+padre+che+vuol+farmi+guidare+mi+frena+con+il+fischio+il+bambino+pi%C3%B9+grande+mi+mena+davanti+a+tutti+gli+altri+lui+che+passa+per+caso+mi+salva+e+mi+condanna+per+sempre+mio+padre+di+spalle+sul+piatto+si+mangia+la+vita+e+poi+sulla+pista+da+ballo+fa+un+valzer+dentro+il+suo+nuovo+vestito++Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+porvarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+E+lei+che+non+si+lascia+afferrare+si+piega+indietro+e+ride+e+lei+che+dice+quanto+mi+ama+e+io+che+mi+fido+e+lei+che+mi+toccava+per+prima+la+sua+mano+bambina+vuole+che+le+giuri+qualcosa+le+si+gonfia+una+vena+e+lei+che+era+troppo+pi%C3%B9+forte+sicura+di+tutto+e+prima+di+andarsene+mi+d%C3%A0+il+profilo+con+un+movimento+perfetto+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre+Mia+madre+che+prepara+la+cena+cantando+sanremo+carezza+la+testa+a+mio+padre+gli+dice+vedrai+che+ce+la+faremo+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Content-Type:
13
+ - application/x-www-form-urlencoded
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - "*/*"
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Server:
24
+ - nginx/1.1.19
25
+ Date:
26
+ - Wed, 07 May 2014 10:26:32 GMT
27
+ Content-Type:
28
+ - application/json;charset="utf-8"
29
+ Content-Length:
30
+ - '10571'
31
+ Connection:
32
+ - keep-alive
33
+ Access-Control-Allow-Origin:
34
+ - "*"
35
+ body:
36
+ encoding: UTF-8
37
+ string: '[{"VALUE":0.0,"SEQUENCE":[{"WORD":"Mio","ID":1,"VALUE":0.997906},{"WORD":"padre","ID":2,"VALUE":0.884526},{"WORD":"che","ID":3,"VALUE":0.998723},{"WORD":"mi","ID":4,"VALUE":0.675779},{"WORD":"spinge","ID":5,"VALUE":0.729285},{"WORD":"a","ID":6,"VALUE":1.0},{"WORD":"mangiare","ID":7,"VALUE":0.999998},{"WORD":"e","ID":8,"VALUE":0.999394},{"WORD":"guai","ID":9,"VALUE":0.952544},{"WORD":"se","ID":10,"VALUE":0.976082},{"WORD":"non","ID":11,"VALUE":0.999951},{"WORD":"finisco","ID":12,"VALUE":0.000001},{"WORD":"mio","ID":13,"VALUE":0.997888},{"WORD":"padre","ID":14,"VALUE":0.000001},{"WORD":"che","ID":15,"VALUE":0.499895},{"WORD":"vuol","ID":16,"VALUE":0.99999},{"WORD":"farmi","ID":17,"VALUE":0.996305},{"WORD":"guidare","ID":18,"VALUE":0.970244},{"WORD":"mi","ID":19,"VALUE":0.93558},{"WORD":"frena","ID":20,"VALUE":0.000001},{"WORD":"con","ID":21,"VALUE":0.999982},{"WORD":"il","ID":22,"VALUE":1.0},{"WORD":"fischio","ID":23,"VALUE":0.99439},{"WORD":"il","ID":24,"VALUE":1.0},{"WORD":"bambino","ID":25,"VALUE":0.890481},{"WORD":"pi\u00f9","ID":26,"VALUE":0.994184},{"WORD":"grande","ID":27,"VALUE":0.999752},{"WORD":"mi","ID":28,"VALUE":0.648647},{"WORD":"mena","ID":29,"VALUE":0.0000176784},{"WORD":"davanti","ID":30,"VALUE":0.999354},{"WORD":"a","ID":31,"VALUE":0.994408},{"WORD":"tutti","ID":32,"VALUE":0.998696},{"WORD":"gli","ID":33,"VALUE":0.999957},{"WORD":"altri","ID":34,"VALUE":0.659509},{"WORD":"lui","ID":35,"VALUE":0.0030959},{"WORD":"che","ID":36,"VALUE":0.999465},{"WORD":"passa","ID":37,"VALUE":0.999995},{"WORD":"per","ID":38,"VALUE":0.998372},{"WORD":"caso","ID":39,"VALUE":0.982892},{"WORD":"mi","ID":40,"VALUE":0.997788},{"WORD":"salva","ID":41,"VALUE":0.0000153814},{"WORD":"e","ID":42,"VALUE":1.0},{"WORD":"mi","ID":43,"VALUE":0.977809},{"WORD":"condanna","ID":44,"VALUE":0.978993},{"WORD":"per","ID":45,"VALUE":0.942201},{"WORD":"sempre","ID":46,"VALUE":0.926349},{"WORD":"mio","ID":47,"VALUE":0.999326},{"WORD":"padre","ID":48,"VALUE":0.97456},{"WORD":"di","ID":49,"VALUE":0.999957},{"WORD":"spalle","ID":50,"VALUE":0.987331},{"WORD":"sul","ID":51,"VALUE":0.999948},{"WORD":"piatto","ID":52,"VALUE":0.710884},{"WORD":"si","ID":53,"VALUE":0.975167},{"WORD":"mangia","ID":54,"VALUE":0.0000144233},{"WORD":"la","ID":55,"VALUE":0.999961},{"WORD":"vita","ID":56,"VALUE":0.922825},{"WORD":"e","ID":57,"VALUE":0.915639},{"WORD":"poi","ID":58,"VALUE":0.906125},{"WORD":"sulla","ID":59,"VALUE":0.999957},{"WORD":"pista","ID":60,"VALUE":0.970429},{"WORD":"da","ID":61,"VALUE":0.999967},{"WORD":"ballo","ID":62,"VALUE":0.872254},{"WORD":"fa","ID":63,"VALUE":0.000001},{"WORD":"un","ID":64,"VALUE":0.999998},{"WORD":"valzer","ID":65,"VALUE":0.814272},{"WORD":"dentro","ID":66,"VALUE":0.999653},{"WORD":"il","ID":67,"VALUE":0.9932},{"WORD":"suo","ID":68,"VALUE":0.999997},{"WORD":"nuovo","ID":69,"VALUE":0.587118},{"WORD":"vestito","ID":70,"VALUE":0.667853},{"WORD":"Per","ID":71,"VALUE":0.98438},{"WORD":"sempre","ID":72,"VALUE":0.290972},{"WORD":"solo","ID":73,"VALUE":0.992869},{"WORD":"per","ID":74,"VALUE":0.984012},{"WORD":"sempre","ID":75,"VALUE":0.999893},{"WORD":"cosa","ID":76,"VALUE":0.93495},{"WORD":"sar\u00e0","ID":77,"VALUE":0.0000193346},{"WORD":"mai","ID":78,"VALUE":0.99995},{"WORD":"porvarvi","ID":79,"VALUE":0.822803},{"WORD":"dentro","ID":80,"VALUE":0.803109},{"WORD":"solo","ID":81,"VALUE":0.989257},{"WORD":"tutto","ID":82,"VALUE":0.993539},{"WORD":"il","ID":83,"VALUE":1.0},{"WORD":"tempo","ID":84,"VALUE":0.997797},{"WORD":"per","ID":85,"VALUE":0.999743},{"WORD":"sempre","ID":86,"VALUE":0.238147},{"WORD":"solo","ID":87,"VALUE":0.776328},{"WORD":"per","ID":88,"VALUE":0.994867},{"WORD":"sempre","ID":89,"VALUE":0.567081},{"WORD":"c''","ID":90,"VALUE":0.991857},{"WORD":"\u00e8","ID":91,"VALUE":0.000001},{"WORD":"un","ID":92,"VALUE":0.999972},{"WORD":"istante","ID":93,"VALUE":0.99694},{"WORD":"che","ID":94,"VALUE":0.833178},{"WORD":"rimane","ID":95,"VALUE":0.998869},{"WORD":"l\u00ec","ID":96,"VALUE":0.736074},{"WORD":"piantato","ID":97,"VALUE":0.61259},{"WORD":"eternamente","ID":98,"VALUE":0.993676},{"WORD":"E","ID":99,"VALUE":0.999993},{"WORD":"lei","ID":100,"VALUE":0.985064},{"WORD":"che","ID":101,"VALUE":0.990823},{"WORD":"non","ID":102,"VALUE":0.99788},{"WORD":"si","ID":103,"VALUE":0.998946},{"WORD":"lascia","ID":104,"VALUE":0.69253},{"WORD":"afferrare","ID":105,"VALUE":0.000001},{"WORD":"si","ID":106,"VALUE":0.265802},{"WORD":"piega","ID":107,"VALUE":0.732164},{"WORD":"indietro","ID":108,"VALUE":0.522713},{"WORD":"e","ID":109,"VALUE":0.999684},{"WORD":"ride","ID":110,"VALUE":0.999253},{"WORD":"e","ID":111,"VALUE":0.000001},{"WORD":"lei","ID":112,"VALUE":0.000001},{"WORD":"che","ID":113,"VALUE":0.996292},{"WORD":"dice","ID":114,"VALUE":0.984389},{"WORD":"quanto","ID":115,"VALUE":0.839752},{"WORD":"mi","ID":116,"VALUE":0.93802},{"WORD":"ama","ID":117,"VALUE":0.593256},{"WORD":"e","ID":118,"VALUE":0.000001},{"WORD":"io","ID":119,"VALUE":0.000001},{"WORD":"che","ID":120,"VALUE":0.999153},{"WORD":"mi","ID":121,"VALUE":0.939094},{"WORD":"fido","ID":122,"VALUE":0.760339},{"WORD":"e","ID":123,"VALUE":0.999806},{"WORD":"lei","ID":124,"VALUE":0.998071},{"WORD":"che","ID":125,"VALUE":0.992596},{"WORD":"mi","ID":126,"VALUE":0.957331},{"WORD":"toccava","ID":127,"VALUE":0.979498},{"WORD":"per","ID":128,"VALUE":0.999985},{"WORD":"prima","ID":129,"VALUE":0.593228},{"WORD":"la","ID":130,"VALUE":0.985658},{"WORD":"sua","ID":131,"VALUE":0.999995},{"WORD":"mano","ID":132,"VALUE":0.996837},{"WORD":"bambina","ID":133,"VALUE":0.971718},{"WORD":"vuole","ID":134,"VALUE":0.881298},{"WORD":"che","ID":135,"VALUE":0.999312},{"WORD":"le","ID":136,"VALUE":0.785502},{"WORD":"giuri","ID":137,"VALUE":0.996955},{"WORD":"qualcosa","ID":138,"VALUE":0.970768},{"WORD":"le","ID":139,"VALUE":0.99975},{"WORD":"si","ID":140,"VALUE":0.862296},{"WORD":"gonfia","ID":141,"VALUE":0.000001},{"WORD":"una","ID":142,"VALUE":0.999963},{"WORD":"vena","ID":143,"VALUE":0.545378},{"WORD":"e","ID":144,"VALUE":0.0289085},{"WORD":"lei","ID":145,"VALUE":0.0235078},{"WORD":"che","ID":146,"VALUE":0.365661},{"WORD":"era","ID":147,"VALUE":0.999881},{"WORD":"troppo","ID":148,"VALUE":0.998639},{"WORD":"pi\u00f9","ID":149,"VALUE":0.988546},{"WORD":"forte","ID":150,"VALUE":0.993769},{"WORD":"sicura","ID":151,"VALUE":0.00923765},{"WORD":"di","ID":152,"VALUE":0.896633},{"WORD":"tutto","ID":153,"VALUE":0.960064},{"WORD":"e","ID":154,"VALUE":0.000001},{"WORD":"prima","ID":155,"VALUE":0.999894},{"WORD":"di","ID":156,"VALUE":0.998021},{"WORD":"andarsene","ID":157,"VALUE":0.000001},{"WORD":"mi","ID":158,"VALUE":0.991982},{"WORD":"d\u00e0","ID":159,"VALUE":0.00140842},{"WORD":"il","ID":160,"VALUE":0.999999},{"WORD":"profilo","ID":161,"VALUE":0.997135},{"WORD":"con","ID":162,"VALUE":0.999999},{"WORD":"un","ID":163,"VALUE":0.99994},{"WORD":"movimento","ID":164,"VALUE":0.762811},{"WORD":"perfetto","ID":165,"VALUE":0.99321},{"WORD":"Per","ID":166,"VALUE":0.00180508},{"WORD":"sempre","ID":167,"VALUE":0.19198},{"WORD":"solo","ID":168,"VALUE":0.712519},{"WORD":"per","ID":169,"VALUE":0.0172414},{"WORD":"sempre","ID":170,"VALUE":0.97112},{"WORD":"cosa","ID":171,"VALUE":0.449476},{"WORD":"sar\u00e0","ID":172,"VALUE":0.0000807117},{"WORD":"mai","ID":173,"VALUE":0.999696},{"WORD":"portarvi","ID":174,"VALUE":0.691151},{"WORD":"dentro","ID":175,"VALUE":0.98176},{"WORD":"solo","ID":176,"VALUE":0.989646},{"WORD":"tutto","ID":177,"VALUE":0.994289},{"WORD":"il","ID":178,"VALUE":1.0},{"WORD":"tempo","ID":179,"VALUE":0.933659},{"WORD":"per","ID":180,"VALUE":0.999401},{"WORD":"sempre","ID":181,"VALUE":0.163143},{"WORD":"solo","ID":182,"VALUE":0.694925},{"WORD":"per","ID":183,"VALUE":0.99737},{"WORD":"sempre","ID":184,"VALUE":0.997676},{"WORD":"c''","ID":185,"VALUE":0.991857},{"WORD":"\u00e8","ID":186,"VALUE":0.000001},{"WORD":"un","ID":187,"VALUE":0.999989},{"WORD":"istante","ID":188,"VALUE":0.87657},{"WORD":"che","ID":189,"VALUE":0.987187},{"WORD":"rimane","ID":190,"VALUE":0.000001},{"WORD":"l\u00ec","ID":191,"VALUE":0.00327617},{"WORD":"piantato","ID":192,"VALUE":0.93936},{"WORD":"eternamente","ID":193,"VALUE":0.581251},{"WORD":"per","ID":194,"VALUE":0.400973},{"WORD":"sempre","ID":195,"VALUE":0.777756},{"WORD":"solo","ID":196,"VALUE":0.826889},{"WORD":"per","ID":197,"VALUE":0.848363},{"WORD":"sempre","ID":198,"VALUE":0.986527},{"WORD":"Mia","ID":199,"VALUE":0.998264},{"WORD":"madre","ID":200,"VALUE":0.000001},{"WORD":"che","ID":201,"VALUE":0.999193},{"WORD":"prepara","ID":202,"VALUE":0.999996},{"WORD":"la","ID":203,"VALUE":0.999986},{"WORD":"cena","ID":204,"VALUE":0.993347},{"WORD":"cantando","ID":205,"VALUE":0.71509},{"WORD":"sanremo","ID":206,"VALUE":0.73079},{"WORD":"carezza","ID":207,"VALUE":0.000093798},{"WORD":"la","ID":208,"VALUE":0.999982},{"WORD":"testa","ID":209,"VALUE":0.975438},{"WORD":"a","ID":210,"VALUE":0.998651},{"WORD":"mio","ID":211,"VALUE":0.999947},{"WORD":"padre","ID":212,"VALUE":0.999856},{"WORD":"gli","ID":213,"VALUE":0.501389},{"WORD":"dice","ID":214,"VALUE":0.0000221344},{"WORD":"vedrai","ID":215,"VALUE":0.000001},{"WORD":"che","ID":216,"VALUE":0.993246},{"WORD":"ce","ID":217,"VALUE":0.847655},{"WORD":"la","ID":218,"VALUE":0.753698},{"WORD":"faremo","ID":219,"VALUE":0.480824},{"WORD":"Per","ID":220,"VALUE":0.983271},{"WORD":"sempre","ID":221,"VALUE":0.925859},{"WORD":"solo","ID":222,"VALUE":0.337448},{"WORD":"per","ID":223,"VALUE":0.980314},{"WORD":"sempre","ID":224,"VALUE":0.179788},{"WORD":"cosa","ID":225,"VALUE":0.966853},{"WORD":"sar\u00e0","ID":226,"VALUE":0.000001},{"WORD":"mai","ID":227,"VALUE":0.991061},{"WORD":"portarvi","ID":228,"VALUE":0.441118},{"WORD":"dentro","ID":229,"VALUE":0.631059},{"WORD":"solo","ID":230,"VALUE":0.999606},{"WORD":"tutto","ID":231,"VALUE":0.976134},{"WORD":"il","ID":232,"VALUE":1.0},{"WORD":"tempo","ID":233,"VALUE":0.883152},{"WORD":"per","ID":234,"VALUE":0.902374},{"WORD":"sempre","ID":235,"VALUE":0.8689},{"WORD":"solo","ID":236,"VALUE":0.957662},{"WORD":"per","ID":237,"VALUE":0.999544},{"WORD":"sempre","ID":238,"VALUE":0.793856},{"WORD":"c''","ID":239,"VALUE":0.996893},{"WORD":"\u00e8","ID":240,"VALUE":0.000001},{"WORD":"un","ID":241,"VALUE":0.999989},{"WORD":"istante","ID":242,"VALUE":0.566234},{"WORD":"che","ID":243,"VALUE":0.987187},{"WORD":"rimane","ID":244,"VALUE":0.999639},{"WORD":"l\u00ec","ID":245,"VALUE":0.00443843},{"WORD":"piantato","ID":246,"VALUE":0.93936},{"WORD":"eternamente","ID":247,"VALUE":0.581251},{"WORD":"per","ID":248,"VALUE":0.256421},{"WORD":"sempre","ID":249,"VALUE":0.860384},{"WORD":"solo","ID":250,"VALUE":0.892486},{"WORD":"per","ID":251,"VALUE":0.992894},{"WORD":"sempre","ID":252,"VALUE":0.997694}]}]'
38
+ http_version:
39
+ recorded_at: Wed, 07 May 2014 10:26:33 GMT
40
+ - request:
41
+ method: post
42
+ uri: http://www.machinereading.com/keyword_extractor
43
+ body:
44
+ encoding: UTF-8
45
+ string: api_key=uf8t28vY4U6w0cU7269O0zORI4h5yz7uhfzBmvBUPJeSVlvmJE&lang=it&maxRetrieve=50&text=Mio+padre+che+mi+spinge+a+mangiare+e+guai+se+non+finisco+mio+padre+che+vuol+farmi+guidare+mi+frena+con+il+fischio+il+bambino+pi%C3%B9+grande+mi+mena+davanti+a+tutti+gli+altri+lui+che+passa+per+caso+mi+salva+e+mi+condanna+per+sempre+mio+padre+di+spalle+sul+piatto+si+mangia+la+vita+e+poi+sulla+pista+da+ballo+fa+un+valzer+dentro+il+suo+nuovo+vestito++Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+porvarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+E+lei+che+non+si+lascia+afferrare+si+piega+indietro+e+ride+e+lei+che+dice+quanto+mi+ama+e+io+che+mi+fido+e+lei+che+mi+toccava+per+prima+la+sua+mano+bambina+vuole+che+le+giuri+qualcosa+le+si+gonfia+una+vena+e+lei+che+era+troppo+pi%C3%B9+forte+sicura+di+tutto+e+prima+di+andarsene+mi+d%C3%A0+il+profilo+con+un+movimento+perfetto+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre+Mia+madre+che+prepara+la+cena+cantando+sanremo+carezza+la+testa+a+mio+padre+gli+dice+vedrai+che+ce+la+faremo+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre
46
+ headers:
47
+ User-Agent:
48
+ - Faraday v0.9.0
49
+ Content-Type:
50
+ - application/x-www-form-urlencoded
51
+ Accept-Encoding:
52
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
53
+ Accept:
54
+ - "*/*"
55
+ response:
56
+ status:
57
+ code: 200
58
+ message: OK
59
+ headers:
60
+ Server:
61
+ - nginx/1.1.19
62
+ Date:
63
+ - Wed, 07 May 2014 10:26:34 GMT
64
+ Content-Type:
65
+ - application/json;charset="utf-8"
66
+ Content-Length:
67
+ - '831'
68
+ Connection:
69
+ - keep-alive
70
+ Access-Control-Allow-Origin:
71
+ - "*"
72
+ body:
73
+ encoding: UTF-8
74
+ string: '[{"rating":0.0051023689,"keyword":"istante"},{"rating":0.003968254,"keyword":"porvarvi"},{"rating":0.0034215842,"keyword":"padre"},{"rating":0.0029674911,"keyword":"mangiare"},{"rating":0.002255588,"keyword":"valzer"},{"rating":0.0021710796,"keyword":"fischio"},{"rating":0.0019624651,"keyword":"piega"},{"rating":0.0019332247,"keyword":"cena
75
+ cantando sanremo"},{"rating":0.0018046069,"keyword":"guai"},{"rating":0.0017040485,"keyword":"vena"},{"rating":0.0015854585,"keyword":"ballo"},{"rating":0.0014970882,"keyword":"forte
76
+ sicura"},{"rating":0.0014348148,"keyword":"piatto"},{"rating":0.0014289609,"keyword":"pista"},{"rating":0.0014061382,"keyword":"profilo"},{"rating":0.0012794786,"keyword":"spalle"},{"rating":0.0010522517,"keyword":"testa"},{"rating":0.000995421,"keyword":"madre"},{"rating":0.0006799356,"keyword":"vita"}]'
77
+ http_version:
78
+ recorded_at: Wed, 07 May 2014 10:26:34 GMT
79
+ - request:
80
+ method: post
81
+ uri: http://www.machinereading.com/pos_tagger_stanford
82
+ body:
83
+ encoding: UTF-8
84
+ string: api_key=uf8t28vY4U6w0cU7269O0zORI4h5yz7uhfzBmvBUPJeSVlvmJE&format=horizontal&lang=it&text=Mio+padre+che+mi+spinge+a+mangiare+e+guai+se+non+finisco+mio+padre+che+vuol+farmi+guidare+mi+frena+con+il+fischio+il+bambino+pi%C3%B9+grande+mi+mena+davanti+a+tutti+gli+altri+lui+che+passa+per+caso+mi+salva+e+mi+condanna+per+sempre+mio+padre+di+spalle+sul+piatto+si+mangia+la+vita+e+poi+sulla+pista+da+ballo+fa+un+valzer+dentro+il+suo+nuovo+vestito++Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+porvarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+E+lei+che+non+si+lascia+afferrare+si+piega+indietro+e+ride+e+lei+che+dice+quanto+mi+ama+e+io+che+mi+fido+e+lei+che+mi+toccava+per+prima+la+sua+mano+bambina+vuole+che+le+giuri+qualcosa+le+si+gonfia+una+vena+e+lei+che+era+troppo+pi%C3%B9+forte+sicura+di+tutto+e+prima+di+andarsene+mi+d%C3%A0+il+profilo+con+un+movimento+perfetto+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre+Mia+madre+che+prepara+la+cena+cantando+sanremo+carezza+la+testa+a+mio+padre+gli+dice+vedrai+che+ce+la+faremo+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre
85
+ headers:
86
+ User-Agent:
87
+ - Faraday v0.9.0
88
+ Content-Type:
89
+ - application/x-www-form-urlencoded
90
+ Accept-Encoding:
91
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
92
+ Accept:
93
+ - "*/*"
94
+ response:
95
+ status:
96
+ code: 200
97
+ message: OK
98
+ headers:
99
+ Server:
100
+ - nginx/1.1.19
101
+ Date:
102
+ - Wed, 07 May 2014 10:26:35 GMT
103
+ Content-Type:
104
+ - text/plain;charset="utf-8"
105
+ Content-Length:
106
+ - '2145'
107
+ Connection:
108
+ - keep-alive
109
+ Access-Control-Allow-Origin:
110
+ - "*"
111
+ body:
112
+ encoding: ASCII-8BIT
113
+ string: !binary |-
114
+ TWlvL0pKIHBhZHJlL05OIGNoZS9QUlAgbWkvUFJQIHNwaW5nZS9WQlogYS9J
115
+ TiBtYW5naWFyZS9OTiBlL0NDIGd1YWkvTk5TIHNlL0lOIG5vbi9SQiBmaW5p
116
+ c2NvL1ZCUCBtaW8vSkogcGFkcmUvTk4gY2hlL1BSUCB2dW9sL01EIGZhcm1p
117
+ L1ZCUCBndWlkYXJlL1ZCUCBtaS9QUlAgZnJlbmEvVkJaIGNvbi9JTiBpbC9E
118
+ VCBmaXNjaGlvL05OIGlsL0RUIGJhbWJpbm8vTk4gcGnDuS9SQiBncmFuZGUv
119
+ SkogbWkvUFJQIG1lbmEvVkJaIGRhdmFudGkvSU4gYS9JTiB0dXR0aS9QRFQg
120
+ Z2xpL0RUIGFsdHJpL0pKIGx1aS9QUlAgY2hlL1BSUCBwYXNzYS9WQlogcGVy
121
+ L1JCIGNhc28vUkIgbWkvUFJQIHNhbHZhL1ZCWiBlL0NDIG1pL1BSUCBjb25k
122
+ YW5uYS9WQlogcGVyL1JCIHNlbXByZS9SQiBtaW8vSkogcGFkcmUvTk4gZGkv
123
+ SU4gc3BhbGxlL05OUyBzdWwvSU4gcGlhdHRvL05OIHNpL1BSUCBtYW5naWEv
124
+ VkJaIGxhL0RUIHZpdGEvTk4gZS9DQyBwb2kvTk4gc3VsbGEvSU4gcGlzdGEv
125
+ Tk4gZGEvSU4gYmFsbG8vTk4gZmEvSkogdW4vRFQgdmFsemVyL05OIGRlbnRy
126
+ by9JTiBpbC9EVCBzdW8vSkogbnVvdm8vTk4gdmVzdGl0by9WQk4gUGVyL1JC
127
+ IHNlbX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RUIGlzdGFudGUvTk4gY2hlL1BSUCByaW1hbmUvVkJaIGzD
160
+ rC9SQiBwaWFudGF0by9WQk4gZXRlcm5hbWVudGUvUkIgcGVyL0lOIHNlbXBy
161
+ ZS9SQiBzb2xvL1JCIHBlci9SQiBzZW1wcmUvUkIK
162
+ http_version:
163
+ recorded_at: Wed, 07 May 2014 10:26:35 GMT
164
+ - request:
165
+ method: post
166
+ uri: http://www.machinereading.com/automatic_categorization
167
+ body:
168
+ encoding: UTF-8
169
+ string: api_key=uf8t28vY4U6w0cU7269O0zORI4h5yz7uhfzBmvBUPJeSVlvmJE&lang=it&text=Mio+padre+che+mi+spinge+a+mangiare+e+guai+se+non+finisco+mio+padre+che+vuol+farmi+guidare+mi+frena+con+il+fischio+il+bambino+pi%C3%B9+grande+mi+mena+davanti+a+tutti+gli+altri+lui+che+passa+per+caso+mi+salva+e+mi+condanna+per+sempre+mio+padre+di+spalle+sul+piatto+si+mangia+la+vita+e+poi+sulla+pista+da+ballo+fa+un+valzer+dentro+il+suo+nuovo+vestito++Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+porvarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+E+lei+che+non+si+lascia+afferrare+si+piega+indietro+e+ride+e+lei+che+dice+quanto+mi+ama+e+io+che+mi+fido+e+lei+che+mi+toccava+per+prima+la+sua+mano+bambina+vuole+che+le+giuri+qualcosa+le+si+gonfia+una+vena+e+lei+che+era+troppo+pi%C3%B9+forte+sicura+di+tutto+e+prima+di+andarsene+mi+d%C3%A0+il+profilo+con+un+movimento+perfetto+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre+Mia+madre+che+prepara+la+cena+cantando+sanremo+carezza+la+testa+a+mio+padre+gli+dice+vedrai+che+ce+la+faremo+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre
170
+ headers:
171
+ User-Agent:
172
+ - Faraday v0.9.0
173
+ Content-Type:
174
+ - application/x-www-form-urlencoded
175
+ Accept-Encoding:
176
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
177
+ Accept:
178
+ - "*/*"
179
+ response:
180
+ status:
181
+ code: 200
182
+ message: OK
183
+ headers:
184
+ Server:
185
+ - nginx/1.1.19
186
+ Date:
187
+ - Wed, 07 May 2014 10:26:35 GMT
188
+ Content-Type:
189
+ - application/json;charset="utf-8"
190
+ Content-Length:
191
+ - '374'
192
+ Connection:
193
+ - keep-alive
194
+ Access-Control-Allow-Origin:
195
+ - "*"
196
+ body:
197
+ encoding: UTF-8
198
+ string: '{"keywords":[{"occ":1,"keyword":"sanremo"},{"occ":1,"keyword":"giuri"},{"occ":3,"keyword":"eternamente"},{"occ":1,"keyword":"valzer"}],"reliabilty":{"value":"average"},"categories":[{"category":"01000000","ranking":73,"subcategory":"01004000","categorytxt":"arts,
199
+ culture and entertainment","subcategorytxt":"festive event (including carnival)","subcatovertreshold":false}]}'
200
+ http_version:
201
+ recorded_at: Wed, 07 May 2014 10:26:35 GMT
202
+ - request:
203
+ method: post
204
+ uri: http://www.machinereading.com/tokenizer
205
+ body:
206
+ encoding: UTF-8
207
+ string: api_key=uf8t28vY4U6w0cU7269O0zORI4h5yz7uhfzBmvBUPJeSVlvmJE&lang=it&text=Mio+padre+che+mi+spinge+a+mangiare+e+guai+se+non+finisco+mio+padre+che+vuol+farmi+guidare+mi+frena+con+il+fischio+il+bambino+pi%C3%B9+grande+mi+mena+davanti+a+tutti+gli+altri+lui+che+passa+per+caso+mi+salva+e+mi+condanna+per+sempre+mio+padre+di+spalle+sul+piatto+si+mangia+la+vita+e+poi+sulla+pista+da+ballo+fa+un+valzer+dentro+il+suo+nuovo+vestito++Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+porvarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+E+lei+che+non+si+lascia+afferrare+si+piega+indietro+e+ride+e+lei+che+dice+quanto+mi+ama+e+io+che+mi+fido+e+lei+che+mi+toccava+per+prima+la+sua+mano+bambina+vuole+che+le+giuri+qualcosa+le+si+gonfia+una+vena+e+lei+che+era+troppo+pi%C3%B9+forte+sicura+di+tutto+e+prima+di+andarsene+mi+d%C3%A0+il+profilo+con+un+movimento+perfetto+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre+Mia+madre+che+prepara+la+cena+cantando+sanremo+carezza+la+testa+a+mio+padre+gli+dice+vedrai+che+ce+la+faremo+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre
208
+ headers:
209
+ User-Agent:
210
+ - Faraday v0.9.0
211
+ Content-Type:
212
+ - application/x-www-form-urlencoded
213
+ Accept-Encoding:
214
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
215
+ Accept:
216
+ - "*/*"
217
+ response:
218
+ status:
219
+ code: 200
220
+ message: OK
221
+ headers:
222
+ Server:
223
+ - nginx/1.1.19
224
+ Date:
225
+ - Wed, 07 May 2014 10:26:36 GMT
226
+ Content-Type:
227
+ - text/plain;charset="utf-8"
228
+ Content-Length:
229
+ - '1355'
230
+ Connection:
231
+ - keep-alive
232
+ Access-Control-Allow-Origin:
233
+ - "*"
234
+ body:
235
+ encoding: ASCII-8BIT
236
+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g
253
+ dmVuYSBlIGxlaSBjaGUgZXJhIHRyb3BwbyBwacO5IGZvcnRlIHNpY3VyYSBk
254
+ aSB0dXR0byBlIHByaW1hIGRpIGFuZGFyc2VuZSBhbmRhcnNlbmUgYW5kYXJz
255
+ ZW5lIG1pIGTDoCBpbCBwcm9maWxvIGNvbiB1biBtb3ZpbWVudG8gcGVyZmV0
256
+ dG8gUGVyIHNlbXByZSBzb2xvIHBlciBzZW1wcmUgY29zYSBzYXLDoCBtYWkg
257
+ cG9ydGFydmkgcG9ydGFydmkgZGVudHJvIHNvbG8gdHV0dG8gaWwgdGVtcG8g
258
+ cGVyIHNlbXByZSBzb2xvIHBlciBzZW1wcmUgYycgw6ggdW4gaXN0YW50ZSBj
259
+ aGUgcmltYW5lIGzDrCBwaWFudGF0byBldGVybmFtZW50ZSBwZXIgc2VtcHJl
260
+ IHNvbG8gcGVyIHNlbXByZSBNaWEgbWFkcmUgY2hlIHByZXBhcmEgbGEgY2Vu
261
+ YSBjYW50YW5kbyBzYW5yZW1vIGNhcmV6emEgbGEgdGVzdGEgYSBtaW8gcGFk
262
+ cmUgZ2xpIGRpY2UgdmVkcmFpIGNoZSBjZSBsYSBmYXJlbW8gUGVyIHNlbXBy
263
+ ZSBzb2xvIHBlciBzZW1wcmUgY29zYSBzYXLDoCBtYWkgcG9ydGFydmkgcG9y
264
+ dGFydmkgZGVudHJvIHNvbG8gdHV0dG8gaWwgdGVtcG8gcGVyIHNlbXByZSBz
265
+ b2xvIHBlciBzZW1wcmUgYycgw6ggdW4gaXN0YW50ZSBjaGUgcmltYW5lIGzD
266
+ rCBwaWFudGF0byBldGVybmFtZW50ZSBwZXIgc2VtcHJlIHNvbG8gcGVyIHNl
267
+ bXByZQo=
268
+ http_version:
269
+ recorded_at: Wed, 07 May 2014 10:26:36 GMT
270
+ - request:
271
+ method: post
272
+ uri: http://www.machinereading.com/language_detector
273
+ body:
274
+ encoding: UTF-8
275
+ string: api_key=uf8t28vY4U6w0cU7269O0zORI4h5yz7uhfzBmvBUPJeSVlvmJE&text=Mio+padre+che+mi+spinge+a+mangiare+e+guai+se+non+finisco+mio+padre+che+vuol+farmi+guidare+mi+frena+con+il+fischio+il+bambino+pi%C3%B9+grande+mi+mena+davanti+a+tutti+gli+altri+lui+che+passa+per+caso+mi+salva+e+mi+condanna+per+sempre+mio+padre+di+spalle+sul+piatto+si+mangia+la+vita+e+poi+sulla+pista+da+ballo+fa+un+valzer+dentro+il+suo+nuovo+vestito++Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+porvarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+E+lei+che+non+si+lascia+afferrare+si+piega+indietro+e+ride+e+lei+che+dice+quanto+mi+ama+e+io+che+mi+fido+e+lei+che+mi+toccava+per+prima+la+sua+mano+bambina+vuole+che+le+giuri+qualcosa+le+si+gonfia+una+vena+e+lei+che+era+troppo+pi%C3%B9+forte+sicura+di+tutto+e+prima+di+andarsene+mi+d%C3%A0+il+profilo+con+un+movimento+perfetto+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre+Mia+madre+che+prepara+la+cena+cantando+sanremo+carezza+la+testa+a+mio+padre+gli+dice+vedrai+che+ce+la+faremo+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre
276
+ headers:
277
+ User-Agent:
278
+ - Faraday v0.9.0
279
+ Content-Type:
280
+ - application/x-www-form-urlencoded
281
+ Accept-Encoding:
282
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
283
+ Accept:
284
+ - "*/*"
285
+ response:
286
+ status:
287
+ code: 200
288
+ message: OK
289
+ headers:
290
+ Server:
291
+ - nginx/1.1.19
292
+ Date:
293
+ - Wed, 07 May 2014 10:26:36 GMT
294
+ Content-Type:
295
+ - text/plain;charset="utf-8"
296
+ Content-Length:
297
+ - '51'
298
+ Connection:
299
+ - keep-alive
300
+ Access-Control-Allow-Origin:
301
+ - "*"
302
+ body:
303
+ encoding: UTF-8
304
+ string: '{"detected_languages":[{"score":1.0,"label":"it"}]}'
305
+ http_version:
306
+ recorded_at: Wed, 07 May 2014 10:26:36 GMT
307
+ - request:
308
+ method: post
309
+ uri: http://www.machinereading.com/voice_tags
310
+ body:
311
+ encoding: UTF-8
312
+ string: api_key=uf8t28vY4U6w0cU7269O0zORI4h5yz7uhfzBmvBUPJeSVlvmJE&lang=it&text=Mio+padre+che+mi+spinge+a+mangiare+e+guai+se+non+finisco+mio+padre+che+vuol+farmi+guidare+mi+frena+con+il+fischio+il+bambino+pi%C3%B9+grande+mi+mena+davanti+a+tutti+gli+altri+lui+che+passa+per+caso+mi+salva+e+mi+condanna+per+sempre+mio+padre+di+spalle+sul+piatto+si+mangia+la+vita+e+poi+sulla+pista+da+ballo+fa+un+valzer+dentro+il+suo+nuovo+vestito++Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+porvarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+E+lei+che+non+si+lascia+afferrare+si+piega+indietro+e+ride+e+lei+che+dice+quanto+mi+ama+e+io+che+mi+fido+e+lei+che+mi+toccava+per+prima+la+sua+mano+bambina+vuole+che+le+giuri+qualcosa+le+si+gonfia+una+vena+e+lei+che+era+troppo+pi%C3%B9+forte+sicura+di+tutto+e+prima+di+andarsene+mi+d%C3%A0+il+profilo+con+un+movimento+perfetto+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre+Mia+madre+che+prepara+la+cena+cantando+sanremo+carezza+la+testa+a+mio+padre+gli+dice+vedrai+che+ce+la+faremo+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre
313
+ headers:
314
+ User-Agent:
315
+ - Faraday v0.9.0
316
+ Content-Type:
317
+ - application/x-www-form-urlencoded
318
+ Accept-Encoding:
319
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
320
+ Accept:
321
+ - "*/*"
322
+ response:
323
+ status:
324
+ code: 200
325
+ message: OK
326
+ headers:
327
+ Server:
328
+ - nginx/1.1.19
329
+ Date:
330
+ - Wed, 07 May 2014 10:26:37 GMT
331
+ Content-Type:
332
+ - text/plain;charset="utf-8"
333
+ Content-Length:
334
+ - '605'
335
+ Connection:
336
+ - keep-alive
337
+ Access-Control-Allow-Origin:
338
+ - "*"
339
+ body:
340
+ encoding: UTF-8
341
+ string: '{"positive_words":[{"start":730,"end":734}],"voice_tags":{"BENEFICIARY":{"KEYWORDS":[],"SENTENCES":[]},"COMPARATIVE":{"KEYWORDS":[],"SENTENCES":[]},"THEME":{"KEYWORDS":[],"SENTENCES":[]},"HYPOTHESIS":{"KEYWORDS":[],"SENTENCES":[]},"GOAL":{"KEYWORDS":[],"SENTENCES":[]},"AGAINST":{"KEYWORDS":[],"SENTENCES":[]},"SPACETIME":{"KEYWORDS":[{"start":144,"end":172},{"start":316,"end":334},{"start":395,"end":420},{"start":754,"end":771},{"start":866,"end":891}],"SENTENCES":[{"start":0,"end":1285}]},"REASONCAUSE":{"KEYWORDS":[],"SENTENCES":[]},"ADVERSATIVE":{"KEYWORDS":[],"SENTENCES":[]}},"negative_words":[]}'
342
+ http_version:
343
+ recorded_at: Wed, 07 May 2014 10:26:37 GMT
344
+ - request:
345
+ method: post
346
+ uri: http://www.machinereading.com/lemmatizer
347
+ body:
348
+ encoding: UTF-8
349
+ string: api_key=uf8t28vY4U6w0cU7269O0zORI4h5yz7uhfzBmvBUPJeSVlvmJE&lang=it&text=Mio+padre+che+mi+spinge+a+mangiare+e+guai+se+non+finisco+mio+padre+che+vuol+farmi+guidare+mi+frena+con+il+fischio+il+bambino+pi%C3%B9+grande+mi+mena+davanti+a+tutti+gli+altri+lui+che+passa+per+caso+mi+salva+e+mi+condanna+per+sempre+mio+padre+di+spalle+sul+piatto+si+mangia+la+vita+e+poi+sulla+pista+da+ballo+fa+un+valzer+dentro+il+suo+nuovo+vestito++Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+porvarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+E+lei+che+non+si+lascia+afferrare+si+piega+indietro+e+ride+e+lei+che+dice+quanto+mi+ama+e+io+che+mi+fido+e+lei+che+mi+toccava+per+prima+la+sua+mano+bambina+vuole+che+le+giuri+qualcosa+le+si+gonfia+una+vena+e+lei+che+era+troppo+pi%C3%B9+forte+sicura+di+tutto+e+prima+di+andarsene+mi+d%C3%A0+il+profilo+con+un+movimento+perfetto+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre+Mia+madre+che+prepara+la+cena+cantando+sanremo+carezza+la+testa+a+mio+padre+gli+dice+vedrai+che+ce+la+faremo+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre
350
+ headers:
351
+ User-Agent:
352
+ - Faraday v0.9.0
353
+ Content-Type:
354
+ - application/x-www-form-urlencoded
355
+ Accept-Encoding:
356
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
357
+ Accept:
358
+ - "*/*"
359
+ response:
360
+ status:
361
+ code: 200
362
+ message: OK
363
+ headers:
364
+ Server:
365
+ - nginx/1.1.19
366
+ Date:
367
+ - Wed, 07 May 2014 10:26:38 GMT
368
+ Content-Type:
369
+ - text/plain;charset="utf-8"
370
+ Content-Length:
371
+ - '2805'
372
+ Connection:
373
+ - keep-alive
374
+ Access-Control-Allow-Origin:
375
+ - "*"
376
+ body:
377
+ encoding: ASCII-8BIT
378
+ string: !binary |-
379
+ TWlvL21pbyBwYWRyZS9wYWRyZSBjaGUvY2hlIG1pL21pIHNwaW5nZS9zcGlu
380
+ Z2VyZSBhL2EgbWFuZ2lhcmUvbWFuZ2lhcmUgZS9lIGd1YWkvZ3VhaW8gc2Uv
381
+ c2Ugbm9uL25vbiBmaW5pc2NvL2ZpbmlyZSBtaW8vbWlvIHBhZHJlL3BhZHJl
382
+ IGNoZS9jaGUgdnVvbC92b2xlcmUgZmFybWkvZmFyZSBndWlkYXJlL2d1aWRh
383
+ cmUgbWkvbWkgZnJlbmEvZnJlbmFyZSBjb24vY29uIGlsL2lsIGZpc2NoaW8v
384
+ ZmlzY2hpbyBpbC9pbCBiYW1iaW5vL2JhbWJpbm8gcGnDuS9wacO5IGdyYW5k
385
+ ZS9ncmFuZGUgbWkvbWkgbWVuYS9tZW5hcmUgZGF2YW50aS9kYXZhbnRpX2Eg
386
+ YS9kYXZhbnRpX2EgdHV0dGkvdHV0dGkgZ2xpL2dsaSBhbHRyaS9hbHRybyBs
387
+ dWkvbHVpIGNoZS9jaGUgcGFzc2EvcGFzc2FyZSBwZXIvcGVyX2Nhc28gY2Fz
388
+ by9wZXJfY2FzbyBtaS9taSBzYWx2YS9zYWx2YXJlIGUvZSBtaS9taSBjb25k
389
+ YW5uYS9jb25kYW5uYXJlIHBlci9wZXJfc2VtcHJlIHNlbXByZS9wZXJfc2Vt
390
+ cHJlIG1pby9taW8gc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S9yaW1hbmVyZSBsw6wvbMOsIHBp
439
+ YW50YXRvL3BpYW50YXJlIGV0ZXJuYW1lbnRlL2V0ZXJuYW1lbnRlIHBlci9w
440
+ ZXIgc2VtcHJlL3NlbXByZSBzb2xvL3NvbG8gcGVyL3Blcl9zZW1wcmUgc2Vt
441
+ cHJlL3Blcl9zZW1wcmUK
442
+ http_version:
443
+ recorded_at: Wed, 07 May 2014 10:26:38 GMT
444
+ - request:
445
+ method: post
446
+ uri: http://www.machinereading.com/syntactic_parser_stanford
447
+ body:
448
+ encoding: UTF-8
449
+ string: api_key=uf8t28vY4U6w0cU7269O0zORI4h5yz7uhfzBmvBUPJeSVlvmJE&lang=it&text=Mio+padre+che+mi+spinge+a+mangiare+e+guai+se+non+finisco+mio+padre+che+vuol+farmi+guidare+mi+frena+con+il+fischio+il+bambino+pi%C3%B9+grande+mi+mena+davanti+a+tutti+gli+altri+lui+che+passa+per+caso+mi+salva+e+mi+condanna+per+sempre+mio+padre+di+spalle+sul+piatto+si+mangia+la+vita+e+poi+sulla+pista+da+ballo+fa+un+valzer+dentro+il+suo+nuovo+vestito++Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+porvarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+E+lei+che+non+si+lascia+afferrare+si+piega+indietro+e+ride+e+lei+che+dice+quanto+mi+ama+e+io+che+mi+fido+e+lei+che+mi+toccava+per+prima+la+sua+mano+bambina+vuole+che+le+giuri+qualcosa+le+si+gonfia+una+vena+e+lei+che+era+troppo+pi%C3%B9+forte+sicura+di+tutto+e+prima+di+andarsene+mi+d%C3%A0+il+profilo+con+un+movimento+perfetto+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre+Mia+madre+che+prepara+la+cena+cantando+sanremo+carezza+la+testa+a+mio+padre+gli+dice+vedrai+che+ce+la+faremo+Per+sempre+solo+per+sempre+cosa+sar%C3%A0+mai+portarvi+dentro+solo+tutto+il+tempo+per+sempre+solo+per+sempre+c%27%C3%A8+un+istante+che+rimane+l%C3%AC+piantato+eternamente+per+sempre+solo+per+sempre
450
+ headers:
451
+ User-Agent:
452
+ - Faraday v0.9.0
453
+ Content-Type:
454
+ - application/x-www-form-urlencoded
455
+ Accept-Encoding:
456
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
457
+ Accept:
458
+ - "*/*"
459
+ response:
460
+ status:
461
+ code: 200
462
+ message: OK
463
+ headers:
464
+ Server:
465
+ - nginx/1.1.19
466
+ Date:
467
+ - Wed, 07 May 2014 10:26:39 GMT
468
+ Content-Type:
469
+ - text/plain;charset="utf-8"
470
+ Content-Length:
471
+ - '6422'
472
+ Connection:
473
+ - keep-alive
474
+ Access-Control-Allow-Origin:
475
+ - "*"
476
+ body:
477
+ encoding: ASCII-8BIT
478
+ string: !binary |-
479
+ YW1vZChwYWRyZS0yLCBNaW8tMSkKZG9iaihmaW5pc2NvLTEzLCBwYWRyZS0y
480
+ KQpuc3ViaihzcGluZ2UtNSwgY2hlLTMpCmRvYmooc3BpbmdlLTUsIG1pLTQp
481
+ CnJjbW9kKHBhZHJlLTIsIHNwaW5nZS01KQpwcmVwX2Eoc3BpbmdlLTUsIG1h
482
+ bmdpYXJlLTcpCmNvbmoobWFuZ2lhcmUtNywgZ3VhaS05KQpuZWcoZmluaXNj
483
+ by0xMywgbm9uLTExKQpuc3ViaihmaW5pc2NvLTEzLCAjLTEyKQpkZXAoUk9P
484
+ VC0wLCBmaW5pc2NvLTEzKQphbW9kKHBhZHJlLTE1LCBtaW8tMTQpCmRlcChm
485
+ aW5pc2NvLTEzLCBwYWRyZS0xNSkKZG9iaihmYXJtaS0yMCwgY2hlLTE2KQpu
486
+ c3Viaih2dW9sLTE4LCAjLTE3KQpyY21vZChwYWRy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YWR2Y2woY29uZGFubmEtNTIsIHBlci01MykKbXdlKHBlci01Mywgc2Vt
504
+ cHJlLTU0KQphbW9kKHBhZHJlLTU2LCBtaW8tNTUpCmRvYmooc2FsdmEtNDgs
505
+ IHBhZHJlLTU2KQpwcmVwX2RpKHBhZHJlLTU2LCBzcGFsbGUtNTgpCmRldChw
506
+ aWF0dG8tNjEsIHN1bC02MCkKcHJlcF9zdShtYW5naWEtNjMsIHBpYXR0by02
507
+ MSkKbnN1YmoobWFuZ2lhLTYzLCBzaS02MikKY29uaihzYWx2YS00OCwgbWFu
508
+ Z2lhLTYzKQpkZXQodml0YS02NSwgbGEtNjQpCmRlcChmYS03Mywgdml0YS02
509
+ NSkKY29uaih2aXRhLTY1LCBwb2ktNjcpCmRldChwaXN0YS03MCwgc3VsbGEt
510
+ NjkpCnByZXBfc3UocG9pLTY3LCBwaXN0YS03MCkKcHJlcF9kYShwb2ktNjcs
511
+ IGJhbGxvLTcyKQpkZXAobWFuZ2lhLTYzLCBmYS03MykKZGV0KHZhbHplci03
512
+ NSwgdW4tNzQpCmRlcChmYS03MywgdmFsemVyLTc1KQpkZXQobnVvdm8tNzks
513
+ IGlsLTc3KQphbW9kKG51b3ZvLTc5LCBzdW8tNzgpCnByZXBfZGVudHJvKHNh
514
+ csOgLTg5LCBudW92by03OSkKcGFydG1vZChudW92by03OSwgdmVzdGl0by04
515
+ MCkKbnN1YmpwYXNzKHZlc3RpdG8tODAsICMtODEpCmFkdmNsKHZlc3RpdG8t
516
+ ODAsIFBlci04MikKbXdlKFBlci04Miwgc2VtcHJlLTgzKQphZHZtb2QoY29z
517
+ YS04Nywgc29sby04NCkKYWR2bW9kKGNvc2EtODcsIHNlbXByZS04NikKcHJl
518
+ cF9wZXIoc2Fyw6AtODksIGNvc2EtODcpCm5zdWJqKHNhcsOgLTg5LCAjLTg4
519
+ KQpjb25qKGZhLTczLCBzYXLDoC04OSkKYWR2Y2woc2Fyw6AtODksIG1haS05
520
+ MCkKbnN1Ym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zUsIHBpYW50YXRvLTI3NykKYWR2Y2wocmltYW5lLTI3NSwgZXRl
619
+ cm5hbWVudGUtMjc4KQphZHZtb2Qoc29sby0yODEsIHNlbXByZS0yODApCmFk
620
+ dm1vZChwZXItMjgyLCBzb2xvLTI4MSkKYWR2Y2wocmltYW5lLTI3NSwgcGVy
621
+ LTI4MikKbXdlKHBlci0yODIsIHNlbXByZS0yODMpCgo=
622
+ http_version:
623
+ recorded_at: Wed, 07 May 2014 10:26:39 GMT
624
+ recorded_with: VCR 2.4.0
@@ -0,0 +1,116 @@
1
+ require 'spec_helper'
2
+
3
+ vcr_options = { :cassette_name => "machinereading_element", :record => :new_episodes }
4
+
5
+ describe Machinereading::Element, vcr: vcr_options do
6
+
7
+ before(:all) do
8
+ Machinereading.configure do |c|
9
+ c.api_key = "uf8t28vY4U6w0cU7269O0zORI4h5yz7uhfzBmvBUPJeSVlvmJE" # a.mostosi@thefool.it
10
+ c.endpoint = "http://www.machinereading.com"
11
+ end
12
+ @sample_content = "Mio padre che mi spinge a mangiare e guai se non finisco mio padre che vuol farmi guidare mi frena con il fischio il bambino più grande mi mena davanti a tutti gli altri lui che passa per caso mi salva e mi condanna per sempre mio padre di spalle sul piatto si mangia la vita e poi sulla pista da ballo fa un valzer dentro il suo nuovo vestito Per sempre solo per sempre cosa sarà mai porvarvi dentro solo tutto il tempo per sempre solo per sempre c'è un istante che rimane lì piantato eternamente E lei che non si lascia afferrare si piega indietro e ride e lei che dice quanto mi ama e io che mi fido e lei che mi toccava per prima la sua mano bambina vuole che le giuri qualcosa le si gonfia una vena e lei che era troppo più forte sicura di tutto e prima di andarsene mi dà il profilo con un movimento perfetto Per sempre solo per sempre cosa sarà mai portarvi dentro solo tutto il tempo per sempre solo per sempre c'è un istante che rimane lì piantato eternamente per sempre solo per sempre Mia madre che prepara la cena cantando sanremo carezza la testa a mio padre gli dice vedrai che ce la faremo Per sempre solo per sempre cosa sarà mai portarvi dentro solo tutto il tempo per sempre solo per sempre c'è un istante che rimane lì piantato eternamente per sempre solo per sempre"
13
+ @sample_content_lang = "it"
14
+ end
15
+
16
+ it "initialize a new element" do
17
+ element = Machinereading::Element.new(@sample_content, @sample_content_lang)
18
+ expect(element).to be_an_instance_of(Machinereading::Element)
19
+ expect(element.text).not_to be_nil
20
+ expect(element.text).to eq(@sample_content)
21
+ expect(element.lang).not_to be_nil
22
+ expect(element.lang).to eq(@sample_content_lang)
23
+ end
24
+
25
+ it "make a request to 'tokenizer'" do
26
+ element = Machinereading::Element.new(@sample_content, @sample_content_lang)
27
+ response = element.tokenizer
28
+ expect(response).not_to be_empty
29
+ end
30
+
31
+ it "make a request to 'pos_tagger_stanford'" do
32
+ element = Machinereading::Element.new(@sample_content, @sample_content_lang)
33
+ response = element.pos_tagger_stanford
34
+ expect(response).not_to be_empty
35
+ end
36
+
37
+ it "make a request to 'pos_tagger_stanford' with additional params" do
38
+ element = Machinereading::Element.new(@sample_content, @sample_content_lang)
39
+ response = element.pos_tagger_stanford("horizontal")
40
+ expect(response).not_to be_empty
41
+ end
42
+
43
+ it "make a request to 'syntactic_parser_stanford'" do
44
+ element = Machinereading::Element.new(@sample_content, @sample_content_lang)
45
+ response = element.syntactic_parser_stanford
46
+ expect(response).not_to be_empty
47
+ end
48
+
49
+ it "make a request to 'lemmatizer'" do
50
+ element = Machinereading::Element.new(@sample_content, @sample_content_lang)
51
+ response = element.lemmatizer
52
+ expect(response).to be_an_instance_of(Array)
53
+ end
54
+
55
+ it "make a request to 'sequence_surprisal'" do
56
+ element = Machinereading::Element.new(@sample_content, @sample_content_lang)
57
+ response = element.sequence_surprisal
58
+ expect(response).to be_an_instance_of(Array)
59
+ response.each do |r|
60
+ expect(r["SEQUENCE"]).to be_an_instance_of(Array)
61
+ end
62
+ end
63
+
64
+ it "make a request to 'language_detector'" do
65
+ element = Machinereading::Element.new(@sample_content, nil)
66
+ response = element.language_detector
67
+ expect(response).to be_an_instance_of(Hash)
68
+ expect(response["detected_languages"]).to be_an_instance_of(Array)
69
+ response["detected_languages"].each do |r|
70
+ expect(r["label"]).not_to be_nil
71
+ expect(r["score"]).not_to be_nil
72
+ end
73
+ end
74
+
75
+ it "make a request to 'keyword_extractor'" do
76
+ element = Machinereading::Element.new(@sample_content, @sample_content_lang)
77
+ response = element.keyword_extractor
78
+ expect(response).to be_an_instance_of(Array)
79
+ response.each do |r|
80
+ expect(r["rating"]).not_to be_nil
81
+ expect(r["keyword"]).not_to be_nil
82
+ end
83
+ end
84
+
85
+ it "make a request to 'keyword_extractor'" do
86
+ element = Machinereading::Element.new(@sample_content, @sample_content_lang)
87
+ response = element.keyword_extractor(50)
88
+ expect(response).to be_an_instance_of(Array)
89
+ response.each do |r|
90
+ expect(r["rating"]).not_to be_nil
91
+ expect(r["keyword"]).not_to be_nil
92
+ end
93
+ end
94
+
95
+ it "make a request to 'automatic_categorization'" do
96
+ element = Machinereading::Element.new(@sample_content, @sample_content_lang)
97
+ response = element.automatic_categorization
98
+ expect(response).to be_an_instance_of(Hash)
99
+ expect(response["categories"]).to be_an_instance_of(Array)
100
+ expect(response["keywords"]).to be_an_instance_of(Array)
101
+ response["keywords"].each do |r|
102
+ expect(r["occ"]).not_to be_nil
103
+ expect(r["keyword"]).not_to be_nil
104
+ end
105
+ end
106
+
107
+ it "make a request to 'voice_tags'" do
108
+ element = Machinereading::Element.new(@sample_content, @sample_content_lang)
109
+ response = element.voice_tags
110
+ expect(response).to be_an_instance_of(Hash)
111
+ expect(response["positive_words"]).to be_an_instance_of(Array)
112
+ expect(response["negative_words"]).to be_an_instance_of(Array)
113
+ expect(response["voice_tags"]).to be_an_instance_of(Hash)
114
+ end
115
+
116
+ end
@@ -0,0 +1,19 @@
1
+ require 'simplecov'
2
+ SimpleCov.start
3
+
4
+ require "machinereading"
5
+ require 'vcr'
6
+
7
+ VCR.configure do |c|
8
+ c.cassette_library_dir = 'spec/cassettes'
9
+ c.hook_into :webmock
10
+ c.configure_rspec_metadata!
11
+ end
12
+
13
+ RSpec.configure do |config|
14
+ config.treat_symbols_as_metadata_keys_with_true_values = true
15
+ config.run_all_when_everything_filtered = true
16
+ config.filter_run :focus
17
+ config.order = 'random'
18
+ config.color_enabled = true
19
+ end
metadata ADDED
@@ -0,0 +1,172 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: machinereading
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Andrea Mostosi
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-09-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.9.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.9.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday_middleware
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.9.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.9.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.6'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.6'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: vcr
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: webmock
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: simplecov
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: Gem for machinereading.com
126
+ email:
127
+ - andrea.mostosi@zenkay.net
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - ".gitignore"
133
+ - Gemfile
134
+ - LICENSE.txt
135
+ - README.md
136
+ - Rakefile
137
+ - lib/machinereading.rb
138
+ - lib/machinereading/element.rb
139
+ - lib/machinereading/version.rb
140
+ - machinereading.gemspec
141
+ - spec/cassettes/machinereading_element.yml
142
+ - spec/element_spec.rb
143
+ - spec/spec_helper.rb
144
+ homepage: ''
145
+ licenses:
146
+ - MIT
147
+ metadata: {}
148
+ post_install_message:
149
+ rdoc_options: []
150
+ require_paths:
151
+ - lib
152
+ required_ruby_version: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ required_rubygems_version: !ruby/object:Gem::Requirement
158
+ requirements:
159
+ - - ">="
160
+ - !ruby/object:Gem::Version
161
+ version: '0'
162
+ requirements: []
163
+ rubyforge_project:
164
+ rubygems_version: 2.2.2
165
+ signing_key:
166
+ specification_version: 4
167
+ summary: Gem for machinereading.com
168
+ test_files:
169
+ - spec/cassettes/machinereading_element.yml
170
+ - spec/element_spec.rb
171
+ - spec/spec_helper.rb
172
+ has_rdoc: