semantria 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7d041f85777fdd4007e96a1ae2863d7287c3d02
4
- data.tar.gz: 5e6a2f9196ae488726411814f8a41aecfd393bf5
3
+ metadata.gz: 19e0216627e8dbee468cb85fc72f003032a243c3
4
+ data.tar.gz: a105d0fc1c3ca5b159b5fedc4c83a22b87c94bfc
5
5
  SHA512:
6
- metadata.gz: 8621d873b6fde23d529cc10a3d9f58b5456fd69d420ff1937ce0784080bed9626c319f2bd2da6ab89695d25f495481bb0097f11c966efdc3f72848a2eef8bbba
7
- data.tar.gz: 0a6584306870d56e944f73d976704d6b120a3aea331f333026b092068db64d17f4da7e1684b08dcb23b5d80d82c346f594e84e6d3fb98fa1cb91890b6f068e12
6
+ metadata.gz: b882517a125cd3a5f33900e6104aa9f1a12c5e4baab85167dcfa3b367a9de82c3e412565a6ffb5c35802f2b3c4cd167e38aaea5f24abe1d1347f0514a56e18c6
7
+ data.tar.gz: 889f1822ccfc061446eb847a391ea6f7312f403330d52ea0520e12d7e8cf4520fc44ef418c989be7f192fc63a9d9ba193b64ce13659c3f2b1439279c43154fcb
data/README.md CHANGED
@@ -1,9 +1,6 @@
1
1
  [![Build Status](https://travis-ci.org/duboff/semantria.svg?branch=master)](https://travis-ci.org/Integralist/Sinderella)
2
-
3
2
  [![Coverage Status](https://img.shields.io/coveralls/duboff/semantria.svg)](https://coveralls.io/r/duboff/semantria?branch=master)
4
-
5
3
  [![Dependency Status](https://gemnasium.com/duboff/semantria.svg)](https://gemnasium.com/duboff/semantria)
6
-
7
4
  [![Code Climate](https://codeclimate.com/github/duboff/semantria/badges/gpa.svg)](https://codeclimate.com/github/duboff/semantria)
8
5
 
9
6
  # Semantria
@@ -33,9 +30,10 @@ client.check_status # => 200
33
30
 
34
31
  client.queue_document('Here is some nice test') # => queue single document for analysis
35
32
 
36
- client.queue_batch(['Here is some nice test', 'And another one']) # => queue single document for analysis
33
+ client.queue_batch(['Here is some nice test', 'And another one']) # => queue an array of documents for analysis
37
34
 
38
35
  client.get_processed_documents
36
+ ```
39
37
 
40
38
  ## Contributing
41
39
 
@@ -21,8 +21,8 @@ module Semantria
21
21
  self.class.get("/status.json", verify: false, headers: auth.headers, query: auth.parameters_hash)
22
22
  end
23
23
 
24
- def queue_document(text)
25
- doc = {'id' => rand(10 ** 10).to_s.rjust(10, '0'), 'text' => text}
24
+ def queue_document(text, id=rand(10 ** 10).to_s)
25
+ doc = {'id' => id, 'text' => text}
26
26
 
27
27
  auth.uri = URI.parse(self.class.base_uri + "/document")
28
28
  json = JSON.generate doc
@@ -1,3 +1,3 @@
1
1
  module Semantria
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -19,5 +19,12 @@ describe Semantria::Authenticator do
19
19
  expect(auth.headers.size).to eq 1
20
20
  expect(auth.headers['Authorization']).to be_a String
21
21
  end
22
+ it 'generates correct path' do
23
+ allow(auth).to receive(:timestamp).and_return("1")
24
+ allow(auth).to receive(:nonce).and_return("2")
25
+
26
+ auth.uri = URI.parse("http://google.com")
27
+ expect(auth.path).to eq "/?oauth_version=1.0&oauth_timestamp=1&oauth_nonce=2&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=bla"
28
+ end
22
29
  end
23
30
  end
@@ -870,4 +870,280 @@ http_interactions:
870
870
  string: '{"api_version":"3.55","service_version":"3.5.5.732","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean"]}'
871
871
  http_version:
872
872
  recorded_at: Tue, 26 Aug 2014 23:39:40 GMT
873
- recorded_with: VCR 2.9.2
873
+ - request:
874
+ method: get
875
+ uri: https://api35.semantria.com/status.json?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=40031206256188671194&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409097992&oauth_version=1.0
876
+ body:
877
+ encoding: US-ASCII
878
+ string: ''
879
+ headers:
880
+ Authorization:
881
+ - oauth_version=1.0,oauth_timestamp=1409097992,oauth_nonce=40031206256188671194,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
882
+ realm=,oauth_signature=lytS2VEUen09BWKsd%2BqlXIhvHLg%3D
883
+ response:
884
+ status:
885
+ code: 200
886
+ message: OK
887
+ headers:
888
+ Server:
889
+ - nginx/1.4.7
890
+ Date:
891
+ - Wed, 27 Aug 2014 00:06:33 GMT
892
+ Content-Type:
893
+ - application/json;charset=UTF-8
894
+ Transfer-Encoding:
895
+ - chunked
896
+ Connection:
897
+ - keep-alive
898
+ Access-Control-Allow-Origin:
899
+ - "*"
900
+ Pragma:
901
+ - no-cache
902
+ Cache-Control:
903
+ - no-cache, no-store, max-age=0
904
+ Expires:
905
+ - Thu, 01 Jan 1970 00:00:00 GMT
906
+ Content-Language:
907
+ - en-US
908
+ body:
909
+ encoding: UTF-8
910
+ string: '{"api_version":"3.55","service_version":"3.5.5.732","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean"]}'
911
+ http_version:
912
+ recorded_at: Wed, 27 Aug 2014 00:06:33 GMT
913
+ - request:
914
+ method: get
915
+ uri: https://api35.semantria.com/status.json?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=76060486466383093213&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098013&oauth_version=1.0
916
+ body:
917
+ encoding: US-ASCII
918
+ string: ''
919
+ headers:
920
+ Authorization:
921
+ - oauth_version=1.0,oauth_timestamp=1409098013,oauth_nonce=76060486466383093213,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
922
+ realm=,oauth_signature=lEjv3F%2BOteRXPrQb4Vqy4Jp5G74%3D
923
+ response:
924
+ status:
925
+ code: 200
926
+ message: OK
927
+ headers:
928
+ Server:
929
+ - nginx/1.4.7
930
+ Date:
931
+ - Wed, 27 Aug 2014 00:06:54 GMT
932
+ Content-Type:
933
+ - application/json;charset=UTF-8
934
+ Transfer-Encoding:
935
+ - chunked
936
+ Connection:
937
+ - keep-alive
938
+ Access-Control-Allow-Origin:
939
+ - "*"
940
+ Pragma:
941
+ - no-cache
942
+ Cache-Control:
943
+ - no-cache, no-store, max-age=0
944
+ Expires:
945
+ - Thu, 01 Jan 1970 00:00:00 GMT
946
+ Content-Language:
947
+ - en-US
948
+ body:
949
+ encoding: UTF-8
950
+ string: '{"api_version":"3.55","service_version":"3.5.5.732","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean"]}'
951
+ http_version:
952
+ recorded_at: Wed, 27 Aug 2014 00:06:54 GMT
953
+ - request:
954
+ method: get
955
+ uri: https://api35.semantria.com/status.json?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=35063303822374926288&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098335&oauth_version=1.0
956
+ body:
957
+ encoding: US-ASCII
958
+ string: ''
959
+ headers:
960
+ Authorization:
961
+ - oauth_version=1.0,oauth_timestamp=1409098335,oauth_nonce=35063303822374926288,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
962
+ realm=,oauth_signature=r789qCqxTacWAjdUW1zXDMOAPwQ%3D
963
+ response:
964
+ status:
965
+ code: 200
966
+ message: OK
967
+ headers:
968
+ Server:
969
+ - nginx/1.4.7
970
+ Date:
971
+ - Wed, 27 Aug 2014 00:12:16 GMT
972
+ Content-Type:
973
+ - application/json;charset=UTF-8
974
+ Transfer-Encoding:
975
+ - chunked
976
+ Connection:
977
+ - keep-alive
978
+ Access-Control-Allow-Origin:
979
+ - "*"
980
+ Pragma:
981
+ - no-cache
982
+ Cache-Control:
983
+ - no-cache, no-store, max-age=0
984
+ Expires:
985
+ - Thu, 01 Jan 1970 00:00:00 GMT
986
+ Content-Language:
987
+ - en-US
988
+ body:
989
+ encoding: UTF-8
990
+ string: '{"api_version":"3.55","service_version":"3.5.5.732","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean"]}'
991
+ http_version:
992
+ recorded_at: Wed, 27 Aug 2014 00:12:16 GMT
993
+ - request:
994
+ method: get
995
+ uri: https://api35.semantria.com/status.json?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=66963590254564269164&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098418&oauth_version=1.0
996
+ body:
997
+ encoding: US-ASCII
998
+ string: ''
999
+ headers:
1000
+ Authorization:
1001
+ - oauth_version=1.0,oauth_timestamp=1409098418,oauth_nonce=66963590254564269164,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
1002
+ realm=,oauth_signature=OAm5Ya0B5WYE53p7mxU1KBCllVE%3D
1003
+ response:
1004
+ status:
1005
+ code: 200
1006
+ message: OK
1007
+ headers:
1008
+ Server:
1009
+ - nginx/1.4.7
1010
+ Date:
1011
+ - Wed, 27 Aug 2014 00:13:38 GMT
1012
+ Content-Type:
1013
+ - application/json;charset=UTF-8
1014
+ Transfer-Encoding:
1015
+ - chunked
1016
+ Connection:
1017
+ - keep-alive
1018
+ Access-Control-Allow-Origin:
1019
+ - "*"
1020
+ Pragma:
1021
+ - no-cache
1022
+ Cache-Control:
1023
+ - no-cache, no-store, max-age=0
1024
+ Expires:
1025
+ - Thu, 01 Jan 1970 00:00:00 GMT
1026
+ Content-Language:
1027
+ - en-US
1028
+ body:
1029
+ encoding: UTF-8
1030
+ string: '{"api_version":"3.55","service_version":"3.5.5.732","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean"]}'
1031
+ http_version:
1032
+ recorded_at: Wed, 27 Aug 2014 00:13:39 GMT
1033
+ - request:
1034
+ method: get
1035
+ uri: https://api35.semantria.com/status.json?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=89147647357800949084&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098482&oauth_version=1.0
1036
+ body:
1037
+ encoding: US-ASCII
1038
+ string: ''
1039
+ headers:
1040
+ Authorization:
1041
+ - oauth_version=1.0,oauth_timestamp=1409098482,oauth_nonce=89147647357800949084,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
1042
+ realm=,oauth_signature=FzejRvoX7LxuqAZU8vdZICRri%2Bc%3D
1043
+ response:
1044
+ status:
1045
+ code: 200
1046
+ message: OK
1047
+ headers:
1048
+ Server:
1049
+ - nginx/1.4.7
1050
+ Date:
1051
+ - Wed, 27 Aug 2014 00:14:43 GMT
1052
+ Content-Type:
1053
+ - application/json;charset=UTF-8
1054
+ Transfer-Encoding:
1055
+ - chunked
1056
+ Connection:
1057
+ - keep-alive
1058
+ Access-Control-Allow-Origin:
1059
+ - "*"
1060
+ Pragma:
1061
+ - no-cache
1062
+ Cache-Control:
1063
+ - no-cache, no-store, max-age=0
1064
+ Expires:
1065
+ - Thu, 01 Jan 1970 00:00:00 GMT
1066
+ Content-Language:
1067
+ - en-US
1068
+ body:
1069
+ encoding: UTF-8
1070
+ string: '{"api_version":"3.55","service_version":"3.5.5.732","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean"]}'
1071
+ http_version:
1072
+ recorded_at: Wed, 27 Aug 2014 00:14:43 GMT
1073
+ - request:
1074
+ method: get
1075
+ uri: https://api35.semantria.com/status.json?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=03538220432021989852&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1411932678&oauth_version=1.0
1076
+ body:
1077
+ encoding: US-ASCII
1078
+ string: ''
1079
+ headers:
1080
+ Authorization:
1081
+ - oauth_version=1.0,oauth_timestamp=1411932674,oauth_nonce=03538220432021989852,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
1082
+ realm=,oauth_signature=8zExBoZMnD8NEDGn2AB%2FUSIfd6w%3D
1083
+ response:
1084
+ status:
1085
+ code: 200
1086
+ message: OK
1087
+ headers:
1088
+ Server:
1089
+ - nginx/1.4.7
1090
+ Date:
1091
+ - Sun, 28 Sep 2014 19:31:18 GMT
1092
+ Content-Type:
1093
+ - application/json;charset=UTF-8
1094
+ Connection:
1095
+ - close
1096
+ Access-Control-Allow-Origin:
1097
+ - "*"
1098
+ Pragma:
1099
+ - no-cache
1100
+ Cache-Control:
1101
+ - no-cache, no-store, max-age=0
1102
+ Expires:
1103
+ - Thu, 01 Jan 1970 00:00:00 GMT
1104
+ Content-Language:
1105
+ - en-US
1106
+ body:
1107
+ encoding: UTF-8
1108
+ string: '{"api_version":"3.55","service_version":"3.5.5.762","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean","Japanese"]}'
1109
+ http_version:
1110
+ recorded_at: Sun, 28 Sep 2014 19:31:18 GMT
1111
+ - request:
1112
+ method: get
1113
+ uri: https://api35.semantria.com/status.json?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=98449275296044360852&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1411932706&oauth_version=1.0
1114
+ body:
1115
+ encoding: US-ASCII
1116
+ string: ''
1117
+ headers:
1118
+ Authorization:
1119
+ - oauth_version=1.0,oauth_timestamp=1411932706,oauth_nonce=98449275296044360852,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
1120
+ realm=,oauth_signature=AlM2MVe5XJZg4gwHsPz21eN2AT8%3D
1121
+ response:
1122
+ status:
1123
+ code: 200
1124
+ message: OK
1125
+ headers:
1126
+ Server:
1127
+ - nginx/1.4.7
1128
+ Date:
1129
+ - Sun, 28 Sep 2014 19:31:47 GMT
1130
+ Content-Type:
1131
+ - application/json;charset=UTF-8
1132
+ Connection:
1133
+ - close
1134
+ Access-Control-Allow-Origin:
1135
+ - "*"
1136
+ Pragma:
1137
+ - no-cache
1138
+ Cache-Control:
1139
+ - no-cache, no-store, max-age=0
1140
+ Expires:
1141
+ - Thu, 01 Jan 1970 00:00:00 GMT
1142
+ Content-Language:
1143
+ - en-US
1144
+ body:
1145
+ encoding: UTF-8
1146
+ string: '{"api_version":"3.55","service_version":"3.5.5.762","service_status":"available","supported_encoding":"UTF-8","supported_compression":"gzip,deflate","supported_languages":["English","French","Spanish","Portuguese","German","Chinese","Italian","Korean","Japanese"]}'
1147
+ http_version:
1148
+ recorded_at: Sun, 28 Sep 2014 19:31:47 GMT
1149
+ recorded_with: VCR 2.9.3
@@ -807,4 +807,394 @@ http_interactions:
807
807
  string: ''
808
808
  http_version:
809
809
  recorded_at: Tue, 26 Aug 2014 23:39:41 GMT
810
- recorded_with: VCR 2.9.2
810
+ - request:
811
+ method: post
812
+ uri: https://api35.semantria.com/document?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=09966529973295203247&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409097993&oauth_version=1.0
813
+ body:
814
+ encoding: UTF-8
815
+ string: '{"id":"2142764881","text":"Very nice restaurant"}'
816
+ headers:
817
+ Authorization:
818
+ - oauth_version=1.0,oauth_timestamp=1409097993,oauth_nonce=09966529973295203247,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
819
+ realm=,oauth_signature=SIZBGvs4NqvwYFwa1YZxx3NUoq8%3D
820
+ response:
821
+ status:
822
+ code: 202
823
+ message: Accepted
824
+ headers:
825
+ Server:
826
+ - nginx/1.4.7
827
+ Date:
828
+ - Wed, 27 Aug 2014 00:06:34 GMT
829
+ Content-Length:
830
+ - '0'
831
+ Connection:
832
+ - keep-alive
833
+ Access-Control-Allow-Origin:
834
+ - "*"
835
+ Content-Language:
836
+ - en-US
837
+ body:
838
+ encoding: UTF-8
839
+ string: ''
840
+ http_version:
841
+ recorded_at: Wed, 27 Aug 2014 00:06:34 GMT
842
+ - request:
843
+ method: post
844
+ uri: https://api35.semantria.com/document/batch?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=18451291410380152403&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409097994&oauth_version=1.0
845
+ body:
846
+ encoding: UTF-8
847
+ string: '[{"id":"0451794775","text":"Very nice restaurant"},{"id":"2762700198","text":"What
848
+ shithole"}]'
849
+ headers:
850
+ Authorization:
851
+ - oauth_version=1.0,oauth_timestamp=1409097994,oauth_nonce=18451291410380152403,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
852
+ realm=,oauth_signature=Ma3RanWbcP5r5kBt8%2BspdMkgSIo%3D
853
+ response:
854
+ status:
855
+ code: 202
856
+ message: Accepted
857
+ headers:
858
+ Server:
859
+ - nginx/1.4.7
860
+ Date:
861
+ - Wed, 27 Aug 2014 00:06:34 GMT
862
+ Content-Length:
863
+ - '0'
864
+ Connection:
865
+ - keep-alive
866
+ Access-Control-Allow-Origin:
867
+ - "*"
868
+ Content-Language:
869
+ - en-US
870
+ body:
871
+ encoding: UTF-8
872
+ string: ''
873
+ http_version:
874
+ recorded_at: Wed, 27 Aug 2014 00:06:35 GMT
875
+ - request:
876
+ method: post
877
+ uri: https://api35.semantria.com/document?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=51741583113888850160&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098014&oauth_version=1.0
878
+ body:
879
+ encoding: UTF-8
880
+ string: '{"id":"4536233953","text":"Very nice restaurant"}'
881
+ headers:
882
+ Authorization:
883
+ - oauth_version=1.0,oauth_timestamp=1409098014,oauth_nonce=51741583113888850160,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
884
+ realm=,oauth_signature=gxpYdS6PTexqG5qlzeGNPHyzdWM%3D
885
+ response:
886
+ status:
887
+ code: 202
888
+ message: Accepted
889
+ headers:
890
+ Server:
891
+ - nginx/1.4.7
892
+ Date:
893
+ - Wed, 27 Aug 2014 00:06:54 GMT
894
+ Content-Length:
895
+ - '0'
896
+ Connection:
897
+ - keep-alive
898
+ Access-Control-Allow-Origin:
899
+ - "*"
900
+ Content-Language:
901
+ - en-US
902
+ body:
903
+ encoding: UTF-8
904
+ string: ''
905
+ http_version:
906
+ recorded_at: Wed, 27 Aug 2014 00:06:55 GMT
907
+ - request:
908
+ method: post
909
+ uri: https://api35.semantria.com/document/batch?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=60451561491382275253&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098015&oauth_version=1.0
910
+ body:
911
+ encoding: UTF-8
912
+ string: '[{"id":"5001682930","text":"Very nice restaurant"},{"id":"7821737705","text":"What
913
+ shithole"}]'
914
+ headers:
915
+ Authorization:
916
+ - oauth_version=1.0,oauth_timestamp=1409098015,oauth_nonce=60451561491382275253,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
917
+ realm=,oauth_signature=cNsfmsUGSjQ%2B4FOp27p4LVrXR1M%3D
918
+ response:
919
+ status:
920
+ code: 202
921
+ message: Accepted
922
+ headers:
923
+ Server:
924
+ - nginx/1.4.7
925
+ Date:
926
+ - Wed, 27 Aug 2014 00:06:55 GMT
927
+ Content-Length:
928
+ - '0'
929
+ Connection:
930
+ - keep-alive
931
+ Access-Control-Allow-Origin:
932
+ - "*"
933
+ Content-Language:
934
+ - en-US
935
+ body:
936
+ encoding: UTF-8
937
+ string: ''
938
+ http_version:
939
+ recorded_at: Wed, 27 Aug 2014 00:06:55 GMT
940
+ - request:
941
+ method: post
942
+ uri: https://api35.semantria.com/document?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=98327615020725989669&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098336&oauth_version=1.0
943
+ body:
944
+ encoding: UTF-8
945
+ string: '{"id":"2121598959","text":"Very nice restaurant"}'
946
+ headers:
947
+ Authorization:
948
+ - oauth_version=1.0,oauth_timestamp=1409098336,oauth_nonce=98327615020725989669,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
949
+ realm=,oauth_signature=L%2BQZNTw3IIvKdz3khBC%2F%2BhaqET4%3D
950
+ response:
951
+ status:
952
+ code: 202
953
+ message: Accepted
954
+ headers:
955
+ Server:
956
+ - nginx/1.4.7
957
+ Date:
958
+ - Wed, 27 Aug 2014 00:12:17 GMT
959
+ Content-Length:
960
+ - '0'
961
+ Connection:
962
+ - keep-alive
963
+ Access-Control-Allow-Origin:
964
+ - "*"
965
+ Content-Language:
966
+ - en-US
967
+ body:
968
+ encoding: UTF-8
969
+ string: ''
970
+ http_version:
971
+ recorded_at: Wed, 27 Aug 2014 00:12:17 GMT
972
+ - request:
973
+ method: post
974
+ uri: https://api35.semantria.com/document/batch?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=05053176371926559741&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098337&oauth_version=1.0
975
+ body:
976
+ encoding: UTF-8
977
+ string: '[{"id":"6450695145","text":"Very nice restaurant"},{"id":"3683338054","text":"What
978
+ shithole"}]'
979
+ headers:
980
+ Authorization:
981
+ - oauth_version=1.0,oauth_timestamp=1409098337,oauth_nonce=05053176371926559741,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
982
+ realm=,oauth_signature=1ghQAZY9Hiyy45As%2BtSat4NraV0%3D
983
+ response:
984
+ status:
985
+ code: 202
986
+ message: Accepted
987
+ headers:
988
+ Server:
989
+ - nginx/1.4.7
990
+ Date:
991
+ - Wed, 27 Aug 2014 00:12:17 GMT
992
+ Content-Length:
993
+ - '0'
994
+ Connection:
995
+ - keep-alive
996
+ Access-Control-Allow-Origin:
997
+ - "*"
998
+ Content-Language:
999
+ - en-US
1000
+ body:
1001
+ encoding: UTF-8
1002
+ string: ''
1003
+ http_version:
1004
+ recorded_at: Wed, 27 Aug 2014 00:12:18 GMT
1005
+ - request:
1006
+ method: post
1007
+ uri: https://api35.semantria.com/document?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=95978414131540529385&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098419&oauth_version=1.0
1008
+ body:
1009
+ encoding: UTF-8
1010
+ string: '{"id":"1843629255","text":"Very nice restaurant"}'
1011
+ headers:
1012
+ Authorization:
1013
+ - oauth_version=1.0,oauth_timestamp=1409098419,oauth_nonce=95978414131540529385,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
1014
+ realm=,oauth_signature=9PBxT%2Fvi0caLfroguczmw5HdvmM%3D
1015
+ response:
1016
+ status:
1017
+ code: 202
1018
+ message: Accepted
1019
+ headers:
1020
+ Server:
1021
+ - nginx/1.4.7
1022
+ Date:
1023
+ - Wed, 27 Aug 2014 00:13:39 GMT
1024
+ Content-Length:
1025
+ - '0'
1026
+ Connection:
1027
+ - keep-alive
1028
+ Access-Control-Allow-Origin:
1029
+ - "*"
1030
+ Content-Language:
1031
+ - en-US
1032
+ body:
1033
+ encoding: UTF-8
1034
+ string: ''
1035
+ http_version:
1036
+ recorded_at: Wed, 27 Aug 2014 00:13:39 GMT
1037
+ - request:
1038
+ method: post
1039
+ uri: https://api35.semantria.com/document/batch?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=66898130574448776386&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098419&oauth_version=1.0
1040
+ body:
1041
+ encoding: UTF-8
1042
+ string: '[{"id":"3440085845","text":"Very nice restaurant"},{"id":"1786746021","text":"What
1043
+ shithole"}]'
1044
+ headers:
1045
+ Authorization:
1046
+ - oauth_version=1.0,oauth_timestamp=1409098419,oauth_nonce=66898130574448776386,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
1047
+ realm=,oauth_signature=kviC7JLOwAi6xKr1P6pdt7SEuLI%3D
1048
+ response:
1049
+ status:
1050
+ code: 202
1051
+ message: Accepted
1052
+ headers:
1053
+ Server:
1054
+ - nginx/1.4.7
1055
+ Date:
1056
+ - Wed, 27 Aug 2014 00:13:40 GMT
1057
+ Content-Length:
1058
+ - '0'
1059
+ Connection:
1060
+ - keep-alive
1061
+ Access-Control-Allow-Origin:
1062
+ - "*"
1063
+ Content-Language:
1064
+ - en-US
1065
+ body:
1066
+ encoding: UTF-8
1067
+ string: ''
1068
+ http_version:
1069
+ recorded_at: Wed, 27 Aug 2014 00:13:40 GMT
1070
+ - request:
1071
+ method: post
1072
+ uri: https://api35.semantria.com/document?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=08190190281852049629&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098483&oauth_version=1.0
1073
+ body:
1074
+ encoding: UTF-8
1075
+ string: '{"id":"6385779393","text":"Very nice restaurant"}'
1076
+ headers:
1077
+ Authorization:
1078
+ - oauth_version=1.0,oauth_timestamp=1409098483,oauth_nonce=08190190281852049629,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
1079
+ realm=,oauth_signature=4Daml7o1ywFzBEN%2F5RBlEe2Sx44%3D
1080
+ response:
1081
+ status:
1082
+ code: 202
1083
+ message: Accepted
1084
+ headers:
1085
+ Server:
1086
+ - nginx/1.4.7
1087
+ Date:
1088
+ - Wed, 27 Aug 2014 00:14:44 GMT
1089
+ Content-Length:
1090
+ - '0'
1091
+ Connection:
1092
+ - keep-alive
1093
+ Access-Control-Allow-Origin:
1094
+ - "*"
1095
+ Content-Language:
1096
+ - en-US
1097
+ body:
1098
+ encoding: UTF-8
1099
+ string: ''
1100
+ http_version:
1101
+ recorded_at: Wed, 27 Aug 2014 00:14:44 GMT
1102
+ - request:
1103
+ method: post
1104
+ uri: https://api35.semantria.com/document/batch?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=31139926100741487432&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098484&oauth_version=1.0
1105
+ body:
1106
+ encoding: UTF-8
1107
+ string: '[{"id":"9773753406","text":"Very nice restaurant"},{"id":"9707690506","text":"What
1108
+ shithole"}]'
1109
+ headers:
1110
+ Authorization:
1111
+ - oauth_version=1.0,oauth_timestamp=1409098484,oauth_nonce=31139926100741487432,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
1112
+ realm=,oauth_signature=ZMH680gViNnmcosE66DgNi0rYWE%3D
1113
+ response:
1114
+ status:
1115
+ code: 202
1116
+ message: Accepted
1117
+ headers:
1118
+ Server:
1119
+ - nginx/1.4.7
1120
+ Date:
1121
+ - Wed, 27 Aug 2014 00:14:45 GMT
1122
+ Content-Length:
1123
+ - '0'
1124
+ Connection:
1125
+ - keep-alive
1126
+ Access-Control-Allow-Origin:
1127
+ - "*"
1128
+ Content-Language:
1129
+ - en-US
1130
+ body:
1131
+ encoding: UTF-8
1132
+ string: ''
1133
+ http_version:
1134
+ recorded_at: Wed, 27 Aug 2014 00:14:45 GMT
1135
+ - request:
1136
+ method: post
1137
+ uri: https://api35.semantria.com/document?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=53004767017009890620&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1411932708&oauth_version=1.0
1138
+ body:
1139
+ encoding: UTF-8
1140
+ string: '{"id":"6937960822","text":"Very nice restaurant"}'
1141
+ headers:
1142
+ Authorization:
1143
+ - oauth_version=1.0,oauth_timestamp=1411932708,oauth_nonce=53004767017009890620,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
1144
+ realm=,oauth_signature=35O3K8Ro06USs2obfDVpTG5IKoI%3D
1145
+ response:
1146
+ status:
1147
+ code: 202
1148
+ message: Accepted
1149
+ headers:
1150
+ Server:
1151
+ - nginx/1.4.7
1152
+ Date:
1153
+ - Sun, 28 Sep 2014 19:31:48 GMT
1154
+ Content-Length:
1155
+ - '0'
1156
+ Connection:
1157
+ - keep-alive
1158
+ Access-Control-Allow-Origin:
1159
+ - "*"
1160
+ Content-Language:
1161
+ - en-US
1162
+ body:
1163
+ encoding: UTF-8
1164
+ string: ''
1165
+ http_version:
1166
+ recorded_at: Sun, 28 Sep 2014 19:31:48 GMT
1167
+ - request:
1168
+ method: post
1169
+ uri: https://api35.semantria.com/document/batch?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=15441588928951206280&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1411932708&oauth_version=1.0
1170
+ body:
1171
+ encoding: UTF-8
1172
+ string: '[{"id":"8269208275","text":"Very nice restaurant"},{"id":"2432421859","text":"What
1173
+ shithole"}]'
1174
+ headers:
1175
+ Authorization:
1176
+ - oauth_version=1.0,oauth_timestamp=1411932708,oauth_nonce=15441588928951206280,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
1177
+ realm=,oauth_signature=TGqv1aWHL%2FsMd9Z%2FhT7uzvth5Tg%3D
1178
+ response:
1179
+ status:
1180
+ code: 202
1181
+ message: Accepted
1182
+ headers:
1183
+ Server:
1184
+ - nginx/1.4.7
1185
+ Date:
1186
+ - Sun, 28 Sep 2014 19:31:49 GMT
1187
+ Content-Length:
1188
+ - '0'
1189
+ Connection:
1190
+ - keep-alive
1191
+ Access-Control-Allow-Origin:
1192
+ - "*"
1193
+ Content-Language:
1194
+ - en-US
1195
+ body:
1196
+ encoding: UTF-8
1197
+ string: ''
1198
+ http_version:
1199
+ recorded_at: Sun, 28 Sep 2014 19:31:49 GMT
1200
+ recorded_with: VCR 2.9.3
@@ -391,4 +391,476 @@ http_interactions:
391
391
  nice restaurant","language_score":1.0}]'
392
392
  http_version:
393
393
  recorded_at: Tue, 26 Aug 2014 23:39:53 GMT
394
- recorded_with: VCR 2.9.2
394
+ - request:
395
+ method: post
396
+ uri: https://api35.semantria.com/document?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=06504984398611807373&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409097995&oauth_version=1.0
397
+ body:
398
+ encoding: UTF-8
399
+ string: '{"id":"9898301673","text":"Very nice restaurant"}'
400
+ headers:
401
+ Authorization:
402
+ - oauth_version=1.0,oauth_timestamp=1409097995,oauth_nonce=06504984398611807373,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
403
+ realm=,oauth_signature=VaPI82RkNpu5P1Igt%2FY%2FiPHIMfE%3D
404
+ response:
405
+ status:
406
+ code: 202
407
+ message: Accepted
408
+ headers:
409
+ Server:
410
+ - nginx/1.4.7
411
+ Date:
412
+ - Wed, 27 Aug 2014 00:06:35 GMT
413
+ Content-Length:
414
+ - '0'
415
+ Connection:
416
+ - keep-alive
417
+ Access-Control-Allow-Origin:
418
+ - "*"
419
+ Content-Language:
420
+ - en-US
421
+ body:
422
+ encoding: UTF-8
423
+ string: ''
424
+ http_version:
425
+ recorded_at: Wed, 27 Aug 2014 00:06:35 GMT
426
+ - request:
427
+ method: get
428
+ uri: https://api35.semantria.com/document/processed.json?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=06504984398611807373&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098005&oauth_version=1.0
429
+ body:
430
+ encoding: US-ASCII
431
+ string: ''
432
+ headers:
433
+ Authorization:
434
+ - oauth_version=1.0,oauth_timestamp=1409098005,oauth_nonce=06504984398611807373,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
435
+ realm=,oauth_signature=qGnfpc5ZvG548PyUXXik4GljuKs%3D
436
+ response:
437
+ status:
438
+ code: 200
439
+ message: OK
440
+ headers:
441
+ Server:
442
+ - nginx/1.4.7
443
+ Date:
444
+ - Wed, 27 Aug 2014 00:06:46 GMT
445
+ Content-Type:
446
+ - application/json;charset=UTF-8
447
+ Transfer-Encoding:
448
+ - chunked
449
+ Connection:
450
+ - keep-alive
451
+ Access-Control-Allow-Origin:
452
+ - "*"
453
+ Pragma:
454
+ - no-cache
455
+ Cache-Control:
456
+ - no-cache, no-store, max-age=0
457
+ Expires:
458
+ - Thu, 01 Jan 1970 00:00:00 GMT
459
+ Content-Language:
460
+ - en-US
461
+ body:
462
+ encoding: UTF-8
463
+ string: '[{"language":"English","id":"2142764881","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
464
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
465
+ nice restaurant","language_score":1.0},{"language":"English","id":"0451794775","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
466
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
467
+ nice restaurant","language_score":1.0},{"language":"English","id":"2762700198","status":"PROCESSED","sentiment_score":0.0,"sentiment_polarity":"neutral","config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"What
468
+ shithole","language_score":1.0},{"language":"English","id":"9898301673","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
469
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
470
+ nice restaurant","language_score":1.0}]'
471
+ http_version:
472
+ recorded_at: Wed, 27 Aug 2014 00:06:46 GMT
473
+ - request:
474
+ method: post
475
+ uri: https://api35.semantria.com/document?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=10746756774195247856&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098015&oauth_version=1.0
476
+ body:
477
+ encoding: UTF-8
478
+ string: '{"id":"3215851877","text":"Very nice restaurant"}'
479
+ headers:
480
+ Authorization:
481
+ - oauth_version=1.0,oauth_timestamp=1409098015,oauth_nonce=10746756774195247856,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
482
+ realm=,oauth_signature=6gL4BLyegyDeXNyzKaGX2laVkW0%3D
483
+ response:
484
+ status:
485
+ code: 202
486
+ message: Accepted
487
+ headers:
488
+ Server:
489
+ - nginx/1.4.7
490
+ Date:
491
+ - Wed, 27 Aug 2014 00:06:56 GMT
492
+ Content-Length:
493
+ - '0'
494
+ Connection:
495
+ - keep-alive
496
+ Access-Control-Allow-Origin:
497
+ - "*"
498
+ Content-Language:
499
+ - en-US
500
+ body:
501
+ encoding: UTF-8
502
+ string: ''
503
+ http_version:
504
+ recorded_at: Wed, 27 Aug 2014 00:06:56 GMT
505
+ - request:
506
+ method: get
507
+ uri: https://api35.semantria.com/document/processed.json?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=10746756774195247856&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098026&oauth_version=1.0
508
+ body:
509
+ encoding: US-ASCII
510
+ string: ''
511
+ headers:
512
+ Authorization:
513
+ - oauth_version=1.0,oauth_timestamp=1409098026,oauth_nonce=10746756774195247856,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
514
+ realm=,oauth_signature=aYOGZ1ZgQ7%2Bb6OHiZ5njW1SZ9q4%3D
515
+ response:
516
+ status:
517
+ code: 200
518
+ message: OK
519
+ headers:
520
+ Server:
521
+ - nginx/1.4.7
522
+ Date:
523
+ - Wed, 27 Aug 2014 00:07:07 GMT
524
+ Content-Type:
525
+ - application/json;charset=UTF-8
526
+ Transfer-Encoding:
527
+ - chunked
528
+ Connection:
529
+ - keep-alive
530
+ Access-Control-Allow-Origin:
531
+ - "*"
532
+ Pragma:
533
+ - no-cache
534
+ Cache-Control:
535
+ - no-cache, no-store, max-age=0
536
+ Expires:
537
+ - Thu, 01 Jan 1970 00:00:00 GMT
538
+ Content-Language:
539
+ - en-US
540
+ body:
541
+ encoding: UTF-8
542
+ string: '[{"language":"English","id":"4536233953","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
543
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
544
+ nice restaurant","language_score":1.0},{"language":"English","id":"5001682930","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
545
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
546
+ nice restaurant","language_score":1.0},{"language":"English","id":"7821737705","status":"PROCESSED","sentiment_score":0.0,"sentiment_polarity":"neutral","config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"What
547
+ shithole","language_score":1.0},{"language":"English","id":"3215851877","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
548
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
549
+ nice restaurant","language_score":1.0}]'
550
+ http_version:
551
+ recorded_at: Wed, 27 Aug 2014 00:07:07 GMT
552
+ - request:
553
+ method: post
554
+ uri: https://api35.semantria.com/document?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=28765819178624079148&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098338&oauth_version=1.0
555
+ body:
556
+ encoding: UTF-8
557
+ string: '{"id":"3458360309","text":"Very nice restaurant"}'
558
+ headers:
559
+ Authorization:
560
+ - oauth_version=1.0,oauth_timestamp=1409098338,oauth_nonce=28765819178624079148,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
561
+ realm=,oauth_signature=pceH8Bvs%2BUyP9W6748jzw%2FNWwZE%3D
562
+ response:
563
+ status:
564
+ code: 202
565
+ message: Accepted
566
+ headers:
567
+ Server:
568
+ - nginx/1.4.7
569
+ Date:
570
+ - Wed, 27 Aug 2014 00:12:18 GMT
571
+ Content-Length:
572
+ - '0'
573
+ Connection:
574
+ - keep-alive
575
+ Access-Control-Allow-Origin:
576
+ - "*"
577
+ Content-Language:
578
+ - en-US
579
+ body:
580
+ encoding: UTF-8
581
+ string: ''
582
+ http_version:
583
+ recorded_at: Wed, 27 Aug 2014 00:12:18 GMT
584
+ - request:
585
+ method: get
586
+ uri: https://api35.semantria.com/document/processed.json?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=28765819178624079148&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098348&oauth_version=1.0
587
+ body:
588
+ encoding: US-ASCII
589
+ string: ''
590
+ headers:
591
+ Authorization:
592
+ - oauth_version=1.0,oauth_timestamp=1409098348,oauth_nonce=28765819178624079148,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
593
+ realm=,oauth_signature=m206tiwwlUx2TwfCtRrlW7srNes%3D
594
+ response:
595
+ status:
596
+ code: 200
597
+ message: OK
598
+ headers:
599
+ Server:
600
+ - nginx/1.4.7
601
+ Date:
602
+ - Wed, 27 Aug 2014 00:12:29 GMT
603
+ Content-Type:
604
+ - application/json;charset=UTF-8
605
+ Transfer-Encoding:
606
+ - chunked
607
+ Connection:
608
+ - keep-alive
609
+ Access-Control-Allow-Origin:
610
+ - "*"
611
+ Pragma:
612
+ - no-cache
613
+ Cache-Control:
614
+ - no-cache, no-store, max-age=0
615
+ Expires:
616
+ - Thu, 01 Jan 1970 00:00:00 GMT
617
+ Content-Language:
618
+ - en-US
619
+ body:
620
+ encoding: UTF-8
621
+ string: '[{"language":"English","id":"2121598959","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
622
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
623
+ nice restaurant","language_score":1.0},{"language":"English","id":"6450695145","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
624
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
625
+ nice restaurant","language_score":1.0},{"language":"English","id":"3683338054","status":"PROCESSED","sentiment_score":0.0,"sentiment_polarity":"neutral","config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"What
626
+ shithole","language_score":1.0},{"language":"English","id":"3458360309","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
627
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
628
+ nice restaurant","language_score":1.0}]'
629
+ http_version:
630
+ recorded_at: Wed, 27 Aug 2014 00:12:29 GMT
631
+ - request:
632
+ method: post
633
+ uri: https://api35.semantria.com/document?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=61969734185739559439&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098420&oauth_version=1.0
634
+ body:
635
+ encoding: UTF-8
636
+ string: '{"id":"9638387232","text":"Very nice restaurant"}'
637
+ headers:
638
+ Authorization:
639
+ - oauth_version=1.0,oauth_timestamp=1409098420,oauth_nonce=61969734185739559439,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
640
+ realm=,oauth_signature=wlT5qFQZaa6q%2F%2FD0IIQJY6Vm52M%3D
641
+ response:
642
+ status:
643
+ code: 202
644
+ message: Accepted
645
+ headers:
646
+ Server:
647
+ - nginx/1.4.7
648
+ Date:
649
+ - Wed, 27 Aug 2014 00:13:41 GMT
650
+ Content-Length:
651
+ - '0'
652
+ Connection:
653
+ - keep-alive
654
+ Access-Control-Allow-Origin:
655
+ - "*"
656
+ Content-Language:
657
+ - en-US
658
+ body:
659
+ encoding: UTF-8
660
+ string: ''
661
+ http_version:
662
+ recorded_at: Wed, 27 Aug 2014 00:13:41 GMT
663
+ - request:
664
+ method: get
665
+ uri: https://api35.semantria.com/document/processed.json?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=61969734185739559439&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098431&oauth_version=1.0
666
+ body:
667
+ encoding: US-ASCII
668
+ string: ''
669
+ headers:
670
+ Authorization:
671
+ - oauth_version=1.0,oauth_timestamp=1409098431,oauth_nonce=61969734185739559439,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
672
+ realm=,oauth_signature=rAdN%2F5%2B11okm%2BMBrs%2BrefBhMVxE%3D
673
+ response:
674
+ status:
675
+ code: 200
676
+ message: OK
677
+ headers:
678
+ Server:
679
+ - nginx/1.4.7
680
+ Date:
681
+ - Wed, 27 Aug 2014 00:13:52 GMT
682
+ Content-Type:
683
+ - application/json;charset=UTF-8
684
+ Transfer-Encoding:
685
+ - chunked
686
+ Connection:
687
+ - keep-alive
688
+ Access-Control-Allow-Origin:
689
+ - "*"
690
+ Pragma:
691
+ - no-cache
692
+ Cache-Control:
693
+ - no-cache, no-store, max-age=0
694
+ Expires:
695
+ - Thu, 01 Jan 1970 00:00:00 GMT
696
+ Content-Language:
697
+ - en-US
698
+ body:
699
+ encoding: UTF-8
700
+ string: '[{"language":"English","id":"1843629255","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
701
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
702
+ nice restaurant","language_score":1.0},{"language":"English","id":"3440085845","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
703
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
704
+ nice restaurant","language_score":1.0},{"language":"English","id":"1786746021","status":"PROCESSED","sentiment_score":0.0,"sentiment_polarity":"neutral","config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"What
705
+ shithole","language_score":1.0},{"language":"English","id":"9638387232","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
706
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
707
+ nice restaurant","language_score":1.0}]'
708
+ http_version:
709
+ recorded_at: Wed, 27 Aug 2014 00:13:52 GMT
710
+ - request:
711
+ method: post
712
+ uri: https://api35.semantria.com/document?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=01531712655361577953&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098485&oauth_version=1.0
713
+ body:
714
+ encoding: UTF-8
715
+ string: '{"id":"7678800411","text":"Very nice restaurant"}'
716
+ headers:
717
+ Authorization:
718
+ - oauth_version=1.0,oauth_timestamp=1409098485,oauth_nonce=01531712655361577953,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
719
+ realm=,oauth_signature=B5LTjmBfIbF%2B0daCOrCbAFBwkt0%3D
720
+ response:
721
+ status:
722
+ code: 202
723
+ message: Accepted
724
+ headers:
725
+ Server:
726
+ - nginx/1.4.7
727
+ Date:
728
+ - Wed, 27 Aug 2014 00:14:45 GMT
729
+ Content-Length:
730
+ - '0'
731
+ Connection:
732
+ - keep-alive
733
+ Access-Control-Allow-Origin:
734
+ - "*"
735
+ Content-Language:
736
+ - en-US
737
+ body:
738
+ encoding: UTF-8
739
+ string: ''
740
+ http_version:
741
+ recorded_at: Wed, 27 Aug 2014 00:14:46 GMT
742
+ - request:
743
+ method: get
744
+ uri: https://api35.semantria.com/document/processed.json?oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1&oauth_nonce=01531712655361577953&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1409098496&oauth_version=1.0
745
+ body:
746
+ encoding: US-ASCII
747
+ string: ''
748
+ headers:
749
+ Authorization:
750
+ - oauth_version=1.0,oauth_timestamp=1409098496,oauth_nonce=01531712655361577953,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9d205eae-9c7f-4442-92b0-c9aaef1f20e1,OAuth
751
+ realm=,oauth_signature=0C%2BTy1OV08CHBgzu67e3%2BCFBQB4%3D
752
+ response:
753
+ status:
754
+ code: 200
755
+ message: OK
756
+ headers:
757
+ Server:
758
+ - nginx/1.4.7
759
+ Date:
760
+ - Wed, 27 Aug 2014 00:14:56 GMT
761
+ Content-Type:
762
+ - application/json;charset=UTF-8
763
+ Transfer-Encoding:
764
+ - chunked
765
+ Connection:
766
+ - keep-alive
767
+ Access-Control-Allow-Origin:
768
+ - "*"
769
+ Pragma:
770
+ - no-cache
771
+ Cache-Control:
772
+ - no-cache, no-store, max-age=0
773
+ Expires:
774
+ - Thu, 01 Jan 1970 00:00:00 GMT
775
+ Content-Language:
776
+ - en-US
777
+ body:
778
+ encoding: UTF-8
779
+ string: '[{"language":"English","id":"6385779393","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
780
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
781
+ nice restaurant","language_score":1.0},{"language":"English","id":"9773753406","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
782
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
783
+ nice restaurant","language_score":1.0},{"language":"English","id":"9707690506","status":"PROCESSED","sentiment_score":0.0,"sentiment_polarity":"neutral","config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"What
784
+ shithole","language_score":1.0},{"language":"English","id":"7678800411","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
785
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
786
+ nice restaurant","language_score":1.0}]'
787
+ http_version:
788
+ recorded_at: Wed, 27 Aug 2014 00:14:56 GMT
789
+ - request:
790
+ method: post
791
+ uri: https://api35.semantria.com/document?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=87630099051942629515&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1411932709&oauth_version=1.0
792
+ body:
793
+ encoding: UTF-8
794
+ string: '{"id":"3056939193","text":"Very nice restaurant"}'
795
+ headers:
796
+ Authorization:
797
+ - oauth_version=1.0,oauth_timestamp=1411932709,oauth_nonce=87630099051942629515,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
798
+ realm=,oauth_signature=S913JVkN9KXD%2BM0LXqlO4AV9K6A%3D
799
+ response:
800
+ status:
801
+ code: 202
802
+ message: Accepted
803
+ headers:
804
+ Server:
805
+ - nginx/1.4.7
806
+ Date:
807
+ - Sun, 28 Sep 2014 19:31:50 GMT
808
+ Content-Length:
809
+ - '0'
810
+ Connection:
811
+ - keep-alive
812
+ Access-Control-Allow-Origin:
813
+ - "*"
814
+ Content-Language:
815
+ - en-US
816
+ body:
817
+ encoding: UTF-8
818
+ string: ''
819
+ http_version:
820
+ recorded_at: Sun, 28 Sep 2014 19:31:50 GMT
821
+ - request:
822
+ method: get
823
+ uri: https://api35.semantria.com/document/processed.json?oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5&oauth_nonce=87630099051942629515&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1411932720&oauth_version=1.0
824
+ body:
825
+ encoding: US-ASCII
826
+ string: ''
827
+ headers:
828
+ Authorization:
829
+ - oauth_version=1.0,oauth_timestamp=1411932720,oauth_nonce=87630099051942629515,oauth_signature_method=HMAC-SHA1,oauth_consumer_key=9ca68ae2-c2f1-4eed-be4f-b93f2dfdedb5,OAuth
830
+ realm=,oauth_signature=xAwf62uLRgDFjh3Xxj4sRojheSE%3D
831
+ response:
832
+ status:
833
+ code: 200
834
+ message: OK
835
+ headers:
836
+ Server:
837
+ - nginx/1.4.7
838
+ Date:
839
+ - Sun, 28 Sep 2014 19:32:01 GMT
840
+ Content-Type:
841
+ - application/json;charset=UTF-8
842
+ Connection:
843
+ - close
844
+ Access-Control-Allow-Origin:
845
+ - "*"
846
+ Pragma:
847
+ - no-cache
848
+ Cache-Control:
849
+ - no-cache, no-store, max-age=0
850
+ Expires:
851
+ - Thu, 01 Jan 1970 00:00:00 GMT
852
+ Content-Language:
853
+ - en-US
854
+ body:
855
+ encoding: UTF-8
856
+ string: '[{"language":"English","id":"6937960822","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
857
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
858
+ nice restaurant","language_score":1.0},{"language":"English","id":"8269208275","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
859
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
860
+ nice restaurant","language_score":1.0},{"language":"English","id":"2432421859","status":"PROCESSED","sentiment_score":0.0,"sentiment_polarity":"neutral","config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"What
861
+ shithole","language_score":1.0},{"language":"English","id":"3056939193","status":"PROCESSED","themes":[{"sentiment_score":0.89,"strength_score":1.0,"title":"nice
862
+ restaurant","sentiment_polarity":"positive","evidence":4,"is_about":false}],"phrases":[{"type":"detected","sentiment_score":1.0680001,"title":"nice","sentiment_polarity":"positive","is_negated":false,"is_intensified":true,"intensifying_phrase":"Very"}],"auto_categories":[{"type":"node","categories":[{"type":"concept","strength_score":0.6236478,"title":"Fast-food_franchises"},{"type":"concept","strength_score":0.60825896,"title":"Restaurant_franchises"},{"type":"concept","strength_score":0.6076183,"title":"Theme_restaurants"},{"type":"concept","strength_score":0.6027079,"title":"Hamburger_restaurants"},{"type":"concept","strength_score":0.59943295,"title":"Fast_casual_restaurants"}],"strength_score":1.0,"title":"Food"}],"sentiment_score":1.0680001,"sentiment_polarity":"positive","topics":[{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5342962,"title":"Hotels","sentiment_polarity":"positive"},{"type":"concept","hitcount":0,"sentiment_score":1.0680001,"strength_score":0.5189895,"title":"Food","sentiment_polarity":"positive"}],"config_id":"5a11ccd3-8b41-445b-974b-b7f7e2aca56b","source_text":"Very
863
+ nice restaurant","language_score":1.0}]'
864
+ http_version:
865
+ recorded_at: Sun, 28 Sep 2014 19:32:01 GMT
866
+ recorded_with: VCR 2.9.3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantria
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikhail Dubov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-27 00:00:00.000000000 Z
11
+ date: 2014-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler