calais 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig DELETED
Binary file
@@ -1,32 +0,0 @@
1
- == 0.0.6
2
- * fully implemented 3.1 API
3
-
4
- == 0.0.5
5
-
6
- * fixed error where classes weren't being required in the proper order on Ubuntu (reported by Jon Moses)
7
- * New things coming back from the API. Fixing in tests.
8
-
9
- == 0.0.4
10
-
11
- * changed dependency from hpricot to libxml
12
- * utf fun
13
- * cleanup all around
14
-
15
- == 0.0.3
16
-
17
- * pluginized the library for Rails (via pius: http://gitorious.org/projects/calais-au-rails)
18
- * added helper methods name entity types from a response (recommendation by pius)
19
-
20
- == 0.0.2
21
-
22
- * cleanup in the specs
23
- * cleaner parsing
24
- * location of named entities
25
- * more data in relationships
26
- * moved Names and Relationships
27
-
28
- == 0.0.1
29
-
30
- * Access to Calais's Enlighten action
31
- * Single method to process a document
32
- * Get relationships and names from a document
@@ -1,20 +0,0 @@
1
- History.txt
2
- MIT-LICENSE
3
- Manifest.txt
4
- README.txt
5
- Rakefile
6
- init.rb
7
- lib/calais.rb
8
- lib/calais/client.rb
9
- lib/calais/response.rb
10
- spec/calais/client_spec.rb
11
- spec/calais/response_spec.rb
12
- spec/calais_spec.rb
13
- spec/fixtures/.gitignore
14
- spec/fixtures/bicycles_australia.response.json
15
- spec/fixtures/bicycles_australia.response.rdf
16
- spec/fixtures/bicycles_australia.xml
17
- spec/fixtures/calais.yml.sample
18
- spec/fixtures/slovenia_euro.xml
19
- spec/helper.rb
20
- spec/spec.opts
data/README.txt DELETED
@@ -1,43 +0,0 @@
1
- == Calais
2
- A Ruby interface to the Open Calais Web Service (http://opencalais.com)
3
-
4
- == Features
5
-
6
- * Accepts documents in text/plain, text/xml and text/html format.
7
- * Basic access to the Open Calais API's Enlighten action.
8
- * Output is RDF representation of input document.
9
- * Single function ability to extract names, entities and geographies from given text.
10
-
11
- == Synopsis
12
-
13
- This is a very basic wrapper to the Open Calais API. It uses the POST endpoint and currently supports the Enlighten action. Here's a simple call:
14
-
15
- Calais.enlighten(:content => "The government of the United Kingdom has given corporations like fast food chain McDonald's the right to award high school qualifications to employees who complete a company training program.", :content_type => :text, :license_id => LICENSE_ID)
16
-
17
- This is the easiest way to get the RDF-formated response from the OpenCalais service.
18
-
19
- If you want to do something more fun like getting all sorts of fun information about a document, you can try this:
20
-
21
- Calais.process_document(:content => "The government of the United Kingdom has given corporations like fast food chain McDonald's the right to award high school qualifications to employees who complete a company training program.", :content_type => :text, :license_id => LICENSE_ID)
22
-
23
- This will return an object containing information extracted from the RDF response.
24
-
25
- == Requirements
26
-
27
- * Ruby 1.8.5 or better
28
- * Uses the following standard libraries: digest/sha1, net/http, yaml, cgi
29
- * libxml2 / libxml-ruby
30
- * curb, libcurl
31
-
32
- == Install
33
-
34
- You can install the Calais gem via Rubygems (gem install calais) or by building from source.
35
-
36
- == Authors
37
-
38
- Abhay Kumar
39
- http://opensynapse.net
40
-
41
- == Acknowledgements
42
-
43
- * Paul Legato (http://www.economaton.com/). Help all around with the new response processor and implementation of the latest API.
data/init.rb DELETED
@@ -1 +0,0 @@
1
- require File.dirname(__FILE__) + '/lib/calais'
@@ -1,7 +0,0 @@
1
- require File.join(File.dirname(__FILE__), %w[helper])
2
-
3
- describe Calais do
4
- it "provides a version number" do
5
- Calais::VERSION.should_not be_nil
6
- end
7
- end
@@ -1 +0,0 @@
1
- calais.yml
@@ -1,483 +0,0 @@
1
- {
2
- "doc":{
3
- "info":{
4
- "document":"<document>\n<id>57831<\/id>\n<title>Record number of bicycles sold in Australia in 2006<\/title>\n<date>January 4, 2007<\/date>\n<body>\nBicycle sales in Australia have recorded record sales of 1,273,781 units for 2006, exceeding car sales by 32 percent. It is the fifth year in a row that the bicycle industry has sold more than one million units, a figure yet to be realised by car manufacturers.\n\nThe Cycling Promotion Fund (CPF) spokesman Ian Christie said Australians were increasingly using bicycles as an alternative to cars. Sales rose nine percent in 2006 while the car market stalled. Mr Christie said people were looking to cut their fuel costs and improve their fitness.\n\nMr Christie, a native of Hobart, Tasmania said organisations were beginning to supply bicycles as a company vehicle. \"There is an emerging trend towards people using bikes as their official company-supplied vehicle in place of the traditional company car,\" he said.\n\n\"Some of Australia's biggest corporations now have bicycle fleets, and when you add in government organisations, we now know of at least 50 organisations which operate fleets of bikes.\"\n\n\"Although the company bicycle is a long way from taking over from the company car, it's an important trend when you consider that nearly half of all cars sold are to company fleets.\"\n\nThe CPF claims most commutes to work are less than 5 kilometres (3 miles) making bicycle travel a viable alternative.\n\n<\/body><\/document>",
5
- "docTitle":"Record number of bicycles sold in Australia in 2006",
6
- "docDate":"2007-01-04 00:00:00",
7
- "allowDistribution":"true",
8
- "allowSearch":"true",
9
- "calaisRequestID":"35ef0a3c-43bc-4fe4-afb3-df3ef68583f1",
10
- "id":"http://id.opencalais.com/FYP3OZuxbUDyQEO42uKnqw"
11
- },
12
- "meta":{
13
- "submitterCode":"4a388fbc-9897-def9-9233-efddbfbca363",
14
- "signature":"digestalg-1|SFRSBjMAPoJABwWIno9iz+W538c=|YJiy7rmNSET86b1nvSAtZt10VCZj+eeLlGp+vTPkfslM3BcXhy+lDA==",
15
- "contentType":"text/xml",
16
- "emVer":"UnifiedIM-DJ",
17
- "langIdVer":"DefaultLangId",
18
- "language":"English",
19
- "processingVer":"CalaisJob01",
20
- "submissionDate":"2008-11-09 00:16:35.096",
21
- "messages":[
22
- ]
23
- }
24
- },
25
- "http://d.opencalais.com/dochash-1/9359fafb-1158-3343-91e3-7f4ed89f3b01/cat/1":{
26
- "_typeGroup":"topics",
27
- "category":"http://d.opencalais.com/cat/Calais/BusinessFinance",
28
- "classifierName":"Calais",
29
- "categoryName":"Business_Finance",
30
- "score":1
31
- },
32
- "http://d.opencalais.com/dochash-1/9359fafb-1158-3343-91e3-7f4ed89f3b01/cat/2":{
33
- "_typeGroup":"topics",
34
- "category":"http://d.opencalais.com/cat/Calais/TechnologyInternet",
35
- "classifierName":"Calais",
36
- "categoryName":"Technology_Internet",
37
- "score":1
38
- },
39
- "http://d.opencalais.com/genericHasher-1/84a34c48-25ac-327f-a805-7b81fd570f7d":{
40
- "_type":"Country",
41
- "_typeGroup":"entities",
42
- "name":"Australia",
43
- "instances":[
44
- {
45
- "detection":"[number of bicycles sold in ]Australia[ in 2006<\/title>\n<date>January 4,]",
46
- "prefix":"number of bicycles sold in",
47
- "exact":"Australia",
48
- "suffix":"in 2006<\/title>\n<date>January 4,",
49
- "offset":67,
50
- "length":9
51
- },
52
- {
53
- "detection":"[4, 2007<\/date>\n<body>\nBicycle sales in ]Australia[ have recorded record sales of 1,273,781 units]",
54
- "prefix":"4, 2007<\/date>\n<body>\nBicycle sales in",
55
- "exact":"Australia",
56
- "suffix":"have recorded record sales of 1,273,781 units",
57
- "offset":146,
58
- "length":9
59
- },
60
- {
61
- "detection":"[ the traditional company car,\" he said.\n\n\"Some of ]Australia['s biggest corporations now have bicycle fleets,]",
62
- "prefix":"the traditional company car,\" he said.\n\n\"Some of",
63
- "exact":"Australia",
64
- "suffix":"'s biggest corporations now have bicycle fleets,",
65
- "offset":952,
66
- "length":9
67
- }
68
- ],
69
- "relevance":0.725,
70
- "resolutions":[
71
- {
72
- "name":"Australia",
73
- "latitude":"-32.345623",
74
- "longitude":"141.4346"
75
- }
76
- ]
77
- },
78
- "http://d.opencalais.com/genericHasher-1/8f3936d9-cf6b-37fc-ae0d-a145959ae3b5":{
79
- "_type":"GenericRelations",
80
- "_typeGroup":"relations",
81
- "verb":"say",
82
- "relationsubject":"http://d.opencalais.com/pershash-1/3bcf2655-ff2a-3a80-8de4-558b9626ad21",
83
- "relationobject":"Australians were increasingly using bicycles as an alternative to cars",
84
- "instances":[
85
- {
86
- "detection":"[ manufacturers.\n\nThe Cycling Promotion Fund (CPF) ]spokesman Ian Christie said Australians were increasingly using bicycles as an alternative to cars.[ Sales rose nine percent in 2006 while the car]",
87
- "prefix":"manufacturers.\n\nThe Cycling Promotion Fund (CPF)",
88
- "exact":"spokesman Ian Christie said Australians were increasingly using bicycles as an alternative to cars.",
89
- "suffix":"Sales rose nine percent in 2006 while the car",
90
- "offset":425,
91
- "length":99
92
- }
93
- ]
94
- },
95
- "http://d.opencalais.com/genericHasher-1/9853f11e-5efa-3efc-90b9-0d0450f7d673":{
96
- "_type":"Organization",
97
- "_typeGroup":"entities",
98
- "name":"Cycling Promotion Fund",
99
- "organizationtype":"N/A",
100
- "nationality":"N/A",
101
- "instances":[
102
- {
103
- "detection":"[yet to be realised by car manufacturers.\n\nThe ]Cycling Promotion Fund[ (CPF) spokesman Ian Christie said Australians]",
104
- "prefix":"yet to be realised by car manufacturers.\n\nThe",
105
- "exact":"Cycling Promotion Fund",
106
- "suffix":"(CPF) spokesman Ian Christie said Australians",
107
- "offset":396,
108
- "length":22
109
- },
110
- {
111
- "detection":"[car manufacturers.\n\nThe Cycling Promotion Fund (]CPF[) spokesman Ian Christie said Australians were]",
112
- "prefix":"car manufacturers.\n\nThe Cycling Promotion Fund (",
113
- "exact":"CPF",
114
- "suffix":") spokesman Ian Christie said Australians were",
115
- "offset":420,
116
- "length":3
117
- },
118
- {
119
- "detection":"[of all cars sold are to company fleets.\"\n\nThe ]CPF[ claims most commutes to work are less than 5]",
120
- "prefix":"of all cars sold are to company fleets.\"\n\nThe",
121
- "exact":"CPF",
122
- "suffix":"claims most commutes to work are less than 5",
123
- "offset":1318,
124
- "length":3
125
- }
126
- ],
127
- "relevance":0.396,
128
- "resolutions":[
129
- ]
130
- },
131
- "http://d.opencalais.com/genericHasher-1/9fa3fb8a-f517-32c7-8a46-3c1506ea3a70":{
132
- "_type":"City",
133
- "_typeGroup":"entities",
134
- "name":"Hobart",
135
- "instances":[
136
- {
137
- "detection":"[ improve their fitness.\n\nMr Christie, a native of ]Hobart[, Tasmania said organisations were beginning to]",
138
- "prefix":"improve their fitness.\n\nMr Christie, a native of",
139
- "exact":"Hobart",
140
- "suffix":", Tasmania said organisations were beginning to",
141
- "offset":701,
142
- "length":6
143
- }
144
- ],
145
- "relevance":0.156,
146
- "resolutions":[
147
- {
148
- "name":"Hobart,Tasmania,Australia",
149
- "latitude":"-42.8806",
150
- "longitude":"147.325"
151
- }
152
- ]
153
- },
154
- "http://d.opencalais.com/genericHasher-1/b8bfc0f2-35cf-3eae-a98e-ae6d0abf5217":{
155
- "_type":"Quotation",
156
- "_typeGroup":"relations",
157
- "person":"http://d.opencalais.com/pershash-1/3bcf2655-ff2a-3a80-8de4-558b9626ad21",
158
- "quote":"organisations were beginning to supply bicycles as a company vehicle",
159
- "instances":[
160
- {
161
- "detection":"[ cut their fuel costs and improve their fitness.\n\n]Mr Christie, a native of Hobart, Tasmania said organisations were beginning to supply bicycles as a company vehicle.[ \"There is an emerging trend towards people using]",
162
- "prefix":"cut their fuel costs and improve their fitness.\n\n",
163
- "exact":"Mr Christie, a native of Hobart, Tasmania said organisations were beginning to supply bicycles as a company vehicle.",
164
- "suffix":"\"There is an emerging trend towards people using",
165
- "offset":676,
166
- "length":116
167
- }
168
- ]
169
- },
170
- "http://d.opencalais.com/genericHasher-1/acc62eba-98d2-3481-9e2c-fb775f7e01f3":{
171
- "_type":"GenericRelations",
172
- "_typeGroup":"relations",
173
- "verb":"say",
174
- "relationsubject":"http://d.opencalais.com/genericHasher-1/d0ca04b6-9cf5-3595-ad4b-7758a0b57997",
175
- "relationobject":"organisations were beginning to supply bicycles as a company vehicle",
176
- "instances":[
177
- {
178
- "detection":"[ their fitness.\n\nMr Christie, a native of Hobart, ]Tasmania said organisations were beginning to supply bicycles as a company vehicle.[ \"There is an emerging trend towards people using]",
179
- "prefix":"their fitness.\n\nMr Christie, a native of Hobart,",
180
- "exact":"Tasmania said organisations were beginning to supply bicycles as a company vehicle.",
181
- "suffix":"\"There is an emerging trend towards people using",
182
- "offset":709,
183
- "length":83
184
- }
185
- ]
186
- },
187
- "http://d.opencalais.com/genericHasher-1/a882c699-1fac-3e5f-a688-9afb43760fa4":{
188
- "_type":"PersonAttributes",
189
- "_typeGroup":"relations",
190
- "person":"http://d.opencalais.com/pershash-1/3bcf2655-ff2a-3a80-8de4-558b9626ad21",
191
- "birthplace":"Hobart,Tasmania",
192
- "gender":"M",
193
- "instances":[
194
- {
195
- "detection":"[ cut their fuel costs and improve their fitness.\n\n]Mr Christie, a native of Hobart, Tasmania[ said organisations were beginning to supply]",
196
- "prefix":"cut their fuel costs and improve their fitness.\n\n",
197
- "exact":"Mr Christie, a native of Hobart, Tasmania",
198
- "suffix":"said organisations were beginning to supply",
199
- "offset":676,
200
- "length":41
201
- }
202
- ]
203
- },
204
- "http://d.opencalais.com/genericHasher-1/ed0e83f9-87e8-3da6-ab46-cd6be116357c":{
205
- "_type":"IndustryTerm",
206
- "_typeGroup":"entities",
207
- "name":"car manufacturers",
208
- "instances":[
209
- {
210
- "detection":"[million units, a figure yet to be realised by ]car manufacturers[.\n\nThe Cycling Promotion Fund (CPF) spokesman Ian]",
211
- "prefix":"million units, a figure yet to be realised by",
212
- "exact":"car manufacturers",
213
- "suffix":".\n\nThe Cycling Promotion Fund (CPF) spokesman Ian",
214
- "offset":372,
215
- "length":17
216
- }
217
- ],
218
- "relevance":0.291,
219
- "resolutions":[
220
- ]
221
- },
222
- "http://d.opencalais.com/genericHasher-1/70d3c1da-ce5c-306c-be9d-9a8a1c8c6e21":{
223
- "_type":"Quotation",
224
- "_typeGroup":"relations",
225
- "person":"http://d.opencalais.com/pershash-1/3bcf2655-ff2a-3a80-8de4-558b9626ad21",
226
- "quote":"Although the company bicycle is a long way from taking over from the company car, it's an important trend when you consider that nearly half of all cars sold are to company fleets.",
227
- "instances":[
228
- {
229
- "detection":"[organisations which operate fleets of bikes.\"\n\n]\"Although the company bicycle is a long way from taking over from the company car, it's an important trend when you consider that nearly half of all cars sold are to company fleets.\"[\n\nThe CPF claims most commutes to work are less]",
230
- "prefix":"organisations which operate fleets of bikes.\"\n\n",
231
- "exact":"\"Although the company bicycle is a long way from taking over from the company car, it's an important trend when you consider that nearly half of all cars sold are to company fleets.\"",
232
- "suffix":"\n\nThe CPF claims most commutes to work are less",
233
- "offset":1130,
234
- "length":182
235
- }
236
- ]
237
- },
238
- "http://d.opencalais.com/genericHasher-1/e05f3d33-1622-3172-836c-b48637a156d3":{
239
- "_type":"Continent",
240
- "_typeGroup":"entities",
241
- "name":"Australia",
242
- "instances":[
243
- {
244
- "detection":"[number of bicycles sold in ]Australia[ in 2006<\/title>\n<date>January 4,]",
245
- "prefix":"number of bicycles sold in",
246
- "exact":"Australia",
247
- "suffix":"in 2006<\/title>\n<date>January 4,",
248
- "offset":67,
249
- "length":9
250
- }
251
- ],
252
- "relevance":0.316,
253
- "resolutions":[
254
- ]
255
- },
256
- "http://d.opencalais.com/genericHasher-1/d0ca04b6-9cf5-3595-ad4b-7758a0b57997":{
257
- "_type":"ProvinceOrState",
258
- "_typeGroup":"entities",
259
- "name":"Tasmania",
260
- "instances":[
261
- {
262
- "detection":"[ their fitness.\n\nMr Christie, a native of Hobart, ]Tasmania[ said organisations were beginning to supply]",
263
- "prefix":"their fitness.\n\nMr Christie, a native of Hobart,",
264
- "exact":"Tasmania",
265
- "suffix":"said organisations were beginning to supply",
266
- "offset":709,
267
- "length":8
268
- }
269
- ],
270
- "relevance":0.156,
271
- "resolutions":[
272
- {
273
- "name":"Tasmania,Australia",
274
- "latitude":"-42.0",
275
- "longitude":"147.0"
276
- }
277
- ]
278
- },
279
- "http://d.opencalais.com/genericHasher-1/0bb9cdb4-3cb7-342a-9901-6d1f12b32f6a":{
280
- "_type":"IndustryTerm",
281
- "_typeGroup":"entities",
282
- "name":"car sales",
283
- "instances":[
284
- {
285
- "detection":"[sales of 1,273,781 units for 2006, exceeding ]car sales[ by 32 percent. It is the fifth year in a row]",
286
- "prefix":"sales of 1,273,781 units for 2006, exceeding",
287
- "exact":"car sales",
288
- "suffix":"by 32 percent. It is the fifth year in a row",
289
- "offset":222,
290
- "length":9
291
- }
292
- ],
293
- "relevance":0.31,
294
- "resolutions":[
295
- ]
296
- },
297
- "http://d.opencalais.com/genericHasher-1/3979e581-0823-3e84-9257-1ca36db4665e":{
298
- "_type":"IndustryTerm",
299
- "_typeGroup":"entities",
300
- "name":"car market",
301
- "instances":[
302
- {
303
- "detection":"[cars. Sales rose nine percent in 2006 while the ]car market[ stalled. Mr Christie said people were looking to]",
304
- "prefix":"cars. Sales rose nine percent in 2006 while the",
305
- "exact":"car market",
306
- "suffix":"stalled. Mr Christie said people were looking to",
307
- "offset":567,
308
- "length":10
309
- }
310
- ],
311
- "relevance":0.228,
312
- "resolutions":[
313
- ]
314
- },
315
- "http://d.opencalais.com/genericHasher-1/0c3d5340-106f-390e-92d3-a4aa18004fb8":{
316
- "_type":"IndustryTerm",
317
- "_typeGroup":"entities",
318
- "name":"company car",
319
- "instances":[
320
- {
321
- "detection":"[company-supplied vehicle in place of the ]traditional company car[,\" he said.\n\n\"Some of Australia's biggest]",
322
- "prefix":"company-supplied vehicle in place of the",
323
- "exact":"traditional company car",
324
- "suffix":",\" he said.\n\n\"Some of Australia's biggest",
325
- "offset":907,
326
- "length":23
327
- },
328
- {
329
- "detection":"[bicycle is a long way from taking over from the ]company car[, it's an important trend when you consider that]",
330
- "prefix":"bicycle is a long way from taking over from the",
331
- "exact":"company car",
332
- "suffix":", it's an important trend when you consider that",
333
- "offset":1200,
334
- "length":11
335
- }
336
- ],
337
- "relevance":0.158,
338
- "resolutions":[
339
- ]
340
- },
341
- "http://d.opencalais.com/pershash-1/3bcf2655-ff2a-3a80-8de4-558b9626ad21":{
342
- "_type":"Person",
343
- "_typeGroup":"entities",
344
- "name":"Ian Christie",
345
- "persontype":"political",
346
- "nationality":"N/A",
347
- "instances":[
348
- {
349
- "detection":"[Cycling Promotion Fund (CPF) spokesman ]Ian Christie[ said Australians were increasingly using]",
350
- "prefix":"Cycling Promotion Fund (CPF) spokesman",
351
- "exact":"Ian Christie",
352
- "suffix":"said Australians were increasingly using",
353
- "offset":435,
354
- "length":12
355
- },
356
- {
357
- "detection":"[percent in 2006 while the car market stalled. ]Mr Christie[ said people were looking to cut their fuel costs]",
358
- "prefix":"percent in 2006 while the car market stalled.",
359
- "exact":"Mr Christie",
360
- "suffix":"said people were looking to cut their fuel costs",
361
- "offset":587,
362
- "length":11
363
- },
364
- {
365
- "detection":"[ cut their fuel costs and improve their fitness.\n\n]Mr Christie[, a native of Hobart, Tasmania said organisations]",
366
- "prefix":"cut their fuel costs and improve their fitness.\n\n",
367
- "exact":"Mr Christie",
368
- "suffix":", a native of Hobart, Tasmania said organisations",
369
- "offset":676,
370
- "length":11
371
- },
372
- {
373
- "detection":"[in place of the traditional company car,\" ]he[ said.\n\n\"Some of Australia's biggest corporations]",
374
- "prefix":"in place of the traditional company car,\"",
375
- "exact":"he",
376
- "suffix":"said.\n\n\"Some of Australia's biggest corporations",
377
- "offset":933,
378
- "length":2
379
- }
380
- ],
381
- "relevance":0.644,
382
- "resolutions":[
383
- ]
384
- },
385
- "http://d.opencalais.com/genericHasher-1/1c2b9a9a-4991-305c-aefe-c724314a7042":{
386
- "_type":"Quotation",
387
- "_typeGroup":"relations",
388
- "person":"http://d.opencalais.com/pershash-1/3bcf2655-ff2a-3a80-8de4-558b9626ad21",
389
- "quote":"There is an emerging trend towards people using bikes as their official company-supplied vehicle in place of the traditional company car; Some of Australia's biggest corporations now have bicycle fleets, and when you add in government organisations, we now know of at least 50 organisations which operate fleets of bikes.",
390
- "instances":[
391
- {
392
- "detection":"[to supply bicycles as a company vehicle. ]\"There is an emerging trend towards people using bikes as their official company-supplied vehicle in place of the traditional company car,\" he said.\n\n\"Some of Australia's biggest corporations now have bicycle fleets, and when you add in government organisations, we now know of at least 50 organisations which operate fleets of bikes.\"[\n\n\"Although the company bicycle is a long way]",
393
- "prefix":"to supply bicycles as a company vehicle.",
394
- "exact":"\"There is an emerging trend towards people using bikes as their official company-supplied vehicle in place of the traditional company car,\" he said.\n\n\"Some of Australia's biggest corporations now have bicycle fleets, and when you add in government organisations, we now know of at least 50 organisations which operate fleets of bikes.\"",
395
- "suffix":"\n\n\"Although the company bicycle is a long way",
396
- "offset":793,
397
- "length":335
398
- }
399
- ]
400
- },
401
- "http://d.opencalais.com/genericHasher-1/21431161-7b9f-34c0-9417-9f9b72ed8a70":{
402
- "_type":"GenericRelations",
403
- "_typeGroup":"relations",
404
- "verb":"say",
405
- "relationsubject":"http://d.opencalais.com/pershash-1/3bcf2655-ff2a-3a80-8de4-558b9626ad21",
406
- "relationobject":"people were looking to cut their fuel costs and improve their fitness",
407
- "instances":[
408
- {
409
- "detection":"[percent in 2006 while the car market stalled. ]Mr Christie said people were looking to cut their fuel costs and improve their fitness.[\n\nMr Christie, a native of Hobart, Tasmania said]",
410
- "prefix":"percent in 2006 while the car market stalled.",
411
- "exact":"Mr Christie said people were looking to cut their fuel costs and improve their fitness.",
412
- "suffix":"\n\nMr Christie, a native of Hobart, Tasmania said",
413
- "offset":587,
414
- "length":87
415
- }
416
- ]
417
- },
418
- "http://d.opencalais.com/genericHasher-1/7f030b9c-a799-35ce-9eb8-554fcb0b2daf":{
419
- "_type":"Quotation",
420
- "_typeGroup":"relations",
421
- "person":"http://d.opencalais.com/pershash-1/3bcf2655-ff2a-3a80-8de4-558b9626ad21",
422
- "quote":"people were looking to cut their fuel costs and improve their fitness",
423
- "instances":[
424
- {
425
- "detection":"[percent in 2006 while the car market stalled. ]Mr Christie said people were looking to cut their fuel costs and improve their fitness.[\n\nMr Christie, a native of Hobart, Tasmania said]",
426
- "prefix":"percent in 2006 while the car market stalled.",
427
- "exact":"Mr Christie said people were looking to cut their fuel costs and improve their fitness.",
428
- "suffix":"\n\nMr Christie, a native of Hobart, Tasmania said",
429
- "offset":587,
430
- "length":87
431
- }
432
- ]
433
- },
434
- "http://d.opencalais.com/genericHasher-1/03ebb542-58cd-346f-8cf5-c69cfef1d446":{
435
- "_type":"GenericRelations",
436
- "_typeGroup":"relations",
437
- "verb":"stall",
438
- "relationsubject":"http://d.opencalais.com/genericHasher-1/3979e581-0823-3e84-9257-1ca36db4665e",
439
- "instances":[
440
- {
441
- "detection":"[to cars. Sales rose nine percent in 2006 while ]the car market stalled[. Mr Christie said people were looking to cut]",
442
- "prefix":"to cars. Sales rose nine percent in 2006 while",
443
- "exact":"the car market stalled",
444
- "suffix":". Mr Christie said people were looking to cut",
445
- "offset":563,
446
- "length":22
447
- }
448
- ]
449
- },
450
- "http://d.opencalais.com/genericHasher-1/39d936c6-79f0-3bcd-9a05-2b36797dc183":{
451
- "_type":"Quotation",
452
- "_typeGroup":"relations",
453
- "person":"http://d.opencalais.com/pershash-1/3bcf2655-ff2a-3a80-8de4-558b9626ad21",
454
- "quote":"Australians were increasingly using bicycles as an alternative to cars",
455
- "instances":[
456
- {
457
- "detection":"[ figure yet to be realised by car manufacturers.\n\n]The Cycling Promotion Fund (CPF) spokesman Ian Christie said Australians were increasingly using bicycles as an alternative to cars.[ Sales rose nine percent in 2006 while the car]",
458
- "prefix":"figure yet to be realised by car manufacturers.\n\n",
459
- "exact":"The Cycling Promotion Fund (CPF) spokesman Ian Christie said Australians were increasingly using bicycles as an alternative to cars.",
460
- "suffix":"Sales rose nine percent in 2006 while the car",
461
- "offset":392,
462
- "length":132
463
- }
464
- ]
465
- },
466
- "http://d.opencalais.com/genericHasher-1/cac873f3-52ff-3a09-a8d0-001acb655270":{
467
- "_type":"PersonProfessional",
468
- "_typeGroup":"relations",
469
- "person":"http://d.opencalais.com/pershash-1/3bcf2655-ff2a-3a80-8de4-558b9626ad21",
470
- "position":"spokesman",
471
- "organization":"http://d.opencalais.com/genericHasher-1/9853f11e-5efa-3efc-90b9-0d0450f7d673",
472
- "instances":[
473
- {
474
- "detection":"[yet to be realised by car manufacturers.\n\nThe ]Cycling Promotion Fund (CPF) spokesman Ian Christie[ said Australians were increasingly using]",
475
- "prefix":"yet to be realised by car manufacturers.\n\nThe",
476
- "exact":"Cycling Promotion Fund (CPF) spokesman Ian Christie",
477
- "suffix":"said Australians were increasingly using",
478
- "offset":396,
479
- "length":51
480
- }
481
- ]
482
- }
483
- }