pho 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +5 -0
- data/Rakefile +1 -1
- data/lib/pho/snapshot.rb +6 -1
- data/lib/pho/sparql.rb +4 -1
- data/tests/tc_snapshots.rb +14 -1
- data/tests/tc_sparql_helper.rb +23 -0
- metadata +60 -160
- data/doc/rdoc/classes/Pho/Analyzers.html +0 -310
- data/doc/rdoc/classes/Pho/CommandLine.html +0 -770
- data/doc/rdoc/classes/Pho/DatatypeProperty.html +0 -241
- data/doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html +0 -410
- data/doc/rdoc/classes/Pho/Enrichment.html +0 -119
- data/doc/rdoc/classes/Pho/Etags.html +0 -310
- data/doc/rdoc/classes/Pho/Facet/Results.html +0 -299
- data/doc/rdoc/classes/Pho/Facet/Term.html +0 -177
- data/doc/rdoc/classes/Pho/Facet.html +0 -119
- data/doc/rdoc/classes/Pho/FieldPredicateMap.html +0 -668
- data/doc/rdoc/classes/Pho/FieldWeighting.html +0 -230
- data/doc/rdoc/classes/Pho/FileManagement/AbstractFileManager.html +0 -478
- data/doc/rdoc/classes/Pho/FileManagement/FileManager.html +0 -264
- data/doc/rdoc/classes/Pho/FileManagement/RDFManager.html +0 -259
- data/doc/rdoc/classes/Pho/FileManagement.html +0 -121
- data/doc/rdoc/classes/Pho/Job.html +0 -627
- data/doc/rdoc/classes/Pho/JobUpdate.html +0 -141
- data/doc/rdoc/classes/Pho/Jobs.html +0 -538
- data/doc/rdoc/classes/Pho/Namespaces.html +0 -164
- data/doc/rdoc/classes/Pho/OAI/Record.html +0 -165
- data/doc/rdoc/classes/Pho/OAI/Records.html +0 -331
- data/doc/rdoc/classes/Pho/OAI.html +0 -118
- data/doc/rdoc/classes/Pho/QueryProfile.html +0 -497
- data/doc/rdoc/classes/Pho/RDF/Parser.html +0 -279
- data/doc/rdoc/classes/Pho/RDF.html +0 -120
- data/doc/rdoc/classes/Pho/RDFCollection.html +0 -119
- data/doc/rdoc/classes/Pho/ResourceHash/Converter.html +0 -325
- data/doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html +0 -241
- data/doc/rdoc/classes/Pho/ResourceHash.html +0 -123
- data/doc/rdoc/classes/Pho/Snapshot.html +0 -397
- data/doc/rdoc/classes/Pho/Sparql/SparqlClient.html +0 -594
- data/doc/rdoc/classes/Pho/Sparql/SparqlHelper.html +0 -692
- data/doc/rdoc/classes/Pho/Sparql.html +0 -187
- data/doc/rdoc/classes/Pho/Status.html +0 -296
- data/doc/rdoc/classes/Pho/Store.html +0 -1560
- data/doc/rdoc/classes/Pho/StoreSparqlClient.html +0 -183
- data/doc/rdoc/classes/Pho/Update/Changeset.html +0 -521
- data/doc/rdoc/classes/Pho/Update/ChangesetBuilder.html +0 -330
- data/doc/rdoc/classes/Pho/Update/ChangesetHelper.html +0 -159
- data/doc/rdoc/classes/Pho/Update/Changesets.html +0 -205
- data/doc/rdoc/classes/Pho/Update/LiteralStatement.html +0 -257
- data/doc/rdoc/classes/Pho/Update/ResourceStatement.html +0 -237
- data/doc/rdoc/classes/Pho/Update/Statement.html +0 -303
- data/doc/rdoc/classes/Pho/Update.html +0 -128
- data/doc/rdoc/classes/Pho.html +0 -283
- data/doc/rdoc/classes/String.html +0 -146
- data/doc/rdoc/created.rid +0 -1
- data/doc/rdoc/files/CHANGES.html +0 -351
- data/doc/rdoc/files/README.html +0 -191
- data/doc/rdoc/files/lib/pho/changeset_builder_rb.html +0 -108
- data/doc/rdoc/files/lib/pho/changeset_rb.html +0 -108
- data/doc/rdoc/files/lib/pho/command_line_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/converter_rb.html +0 -108
- data/doc/rdoc/files/lib/pho/enrichment_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/etags_rb.html +0 -108
- data/doc/rdoc/files/lib/pho/facet_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/field_predicate_map_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/file_management_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/file_manager_rb.html +0 -108
- data/doc/rdoc/files/lib/pho/job_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/oai_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/query_profile_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/rdf_collection_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/rdf_rb.html +0 -108
- data/doc/rdoc/files/lib/pho/resource_hash_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/snapshot_rb.html +0 -109
- data/doc/rdoc/files/lib/pho/sparql_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/status_rb.html +0 -101
- data/doc/rdoc/files/lib/pho/store_rb.html +0 -108
- data/doc/rdoc/files/lib/pho_rb.html +0 -133
- data/doc/rdoc/fr_class_index.html +0 -72
- data/doc/rdoc/fr_file_index.html +0 -49
- data/doc/rdoc/fr_method_index.html +0 -237
- data/doc/rdoc/index.html +0 -24
- data/doc/rdoc/rdoc-style.css +0 -208
@@ -1,310 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
-
<!DOCTYPE html
|
3
|
-
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
-
|
6
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
-
<head>
|
8
|
-
<title>Class: Pho::Analyzers</title>
|
9
|
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
-
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
-
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
-
<script type="text/javascript">
|
13
|
-
// <![CDATA[
|
14
|
-
|
15
|
-
function popupCode( url ) {
|
16
|
-
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
-
}
|
18
|
-
|
19
|
-
function toggleCode( id ) {
|
20
|
-
if ( document.getElementById )
|
21
|
-
elem = document.getElementById( id );
|
22
|
-
else if ( document.all )
|
23
|
-
elem = eval( "document.all." + id );
|
24
|
-
else
|
25
|
-
return false;
|
26
|
-
|
27
|
-
elemStyle = elem.style;
|
28
|
-
|
29
|
-
if ( elemStyle.display != "block" ) {
|
30
|
-
elemStyle.display = "block"
|
31
|
-
} else {
|
32
|
-
elemStyle.display = "none"
|
33
|
-
}
|
34
|
-
|
35
|
-
return true;
|
36
|
-
}
|
37
|
-
|
38
|
-
// Make codeblocks hidden by default
|
39
|
-
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
-
|
41
|
-
// ]]>
|
42
|
-
</script>
|
43
|
-
|
44
|
-
</head>
|
45
|
-
<body>
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<div id="classHeader">
|
50
|
-
<table class="header-table">
|
51
|
-
<tr class="top-aligned-row">
|
52
|
-
<td><strong>Class</strong></td>
|
53
|
-
<td class="class-name-in-header">Pho::Analyzers</td>
|
54
|
-
</tr>
|
55
|
-
<tr class="top-aligned-row">
|
56
|
-
<td><strong>In:</strong></td>
|
57
|
-
<td>
|
58
|
-
<a href="../../files/lib/pho/field_predicate_map_rb.html">
|
59
|
-
lib/pho/field_predicate_map.rb
|
60
|
-
</a>
|
61
|
-
<br />
|
62
|
-
</td>
|
63
|
-
</tr>
|
64
|
-
|
65
|
-
<tr class="top-aligned-row">
|
66
|
-
<td><strong>Parent:</strong></td>
|
67
|
-
<td>
|
68
|
-
Object
|
69
|
-
</td>
|
70
|
-
</tr>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
<!-- banner header -->
|
74
|
-
|
75
|
-
<div id="bodyContent">
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<div id="contextContent">
|
80
|
-
|
81
|
-
<div id="description">
|
82
|
-
<p>
|
83
|
-
Declares URI constants for the various text analyzers supported by the
|
84
|
-
Talis Platform
|
85
|
-
</p>
|
86
|
-
<p>
|
87
|
-
<a href="Analyzers.html">Analyzers</a> are configured to operate on
|
88
|
-
specific DataTypePropertys using the <a
|
89
|
-
href="FieldPredicateMap.html">FieldPredicateMap</a>
|
90
|
-
</p>
|
91
|
-
|
92
|
-
</div>
|
93
|
-
|
94
|
-
|
95
|
-
</div>
|
96
|
-
|
97
|
-
|
98
|
-
</div>
|
99
|
-
|
100
|
-
|
101
|
-
<!-- if includes -->
|
102
|
-
|
103
|
-
<div id="section">
|
104
|
-
|
105
|
-
|
106
|
-
<div id="constants-list">
|
107
|
-
<h3 class="section-bar">Constants</h3>
|
108
|
-
|
109
|
-
<div class="name-list">
|
110
|
-
<table summary="Constants">
|
111
|
-
<tr class="top-aligned-row context-row">
|
112
|
-
<td class="context-item-name">STANDARD</td>
|
113
|
-
<td>=</td>
|
114
|
-
<td class="context-item-value">"http://schemas.talis.com/2007/bigfoot/analyzers#standard-en".freeze</td>
|
115
|
-
<td width="3em"> </td>
|
116
|
-
<td class="context-item-desc">
|
117
|
-
A standard English analyzer and the default if no analyzer is specified.
|
118
|
-
Words are split on punctuation characters, removing the punctuation. Words
|
119
|
-
containing a dot are not split. Words containing both hyphens and numbers
|
120
|
-
are not split. Email addresses and hostnames are not split. Stop words are
|
121
|
-
removed. Searches on fields with this type of analyzer are case
|
122
|
-
insensitive.
|
123
|
-
|
124
|
-
<p>
|
125
|
-
The following words are considered to be stop words and will not be
|
126
|
-
indexed: a, an, and, are, as, at, be, but, by, for, if, in, into, is, it,
|
127
|
-
no, not, of, on, or, such, that, the, their, then, there, these, they,
|
128
|
-
this, to, was, will, with
|
129
|
-
</p>
|
130
|
-
</td>
|
131
|
-
</tr>
|
132
|
-
<tr class="top-aligned-row context-row">
|
133
|
-
<td class="context-item-name">GREEK</td>
|
134
|
-
<td>=</td>
|
135
|
-
<td class="context-item-value">"http://schemas.talis.com/2007/bigfoot/analyzers#standard-el".freeze</td>
|
136
|
-
<td width="3em"> </td>
|
137
|
-
<td class="context-item-desc">
|
138
|
-
A standard Greek language analyzer. Words are split on punctuation
|
139
|
-
characters, removing the punctuation. Words containing a dot are not split.
|
140
|
-
Words containing both hyphens and numbers are not split. Email addresses
|
141
|
-
and hostnames are not split. Stop words are removed. Searches on fields
|
142
|
-
with this type of analyzer are case insensitive.
|
143
|
-
|
144
|
-
</td>
|
145
|
-
</tr>
|
146
|
-
<tr class="top-aligned-row context-row">
|
147
|
-
<td class="context-item-name">GERMAN</td>
|
148
|
-
<td>=</td>
|
149
|
-
<td class="context-item-value">"http://schemas.talis.com/2007/bigfoot/analyzers#standard-de".freeze</td>
|
150
|
-
<td width="3em"> </td>
|
151
|
-
<td class="context-item-desc">
|
152
|
-
The following words are considered to be stop words and will not be
|
153
|
-
indexed: einer, eine, eines, einem, einen, der, die, das, dass, daß, du,
|
154
|
-
er, sie, es, was, wer, wie, wir, und, oder, ohne, mit, am, im, in, aus,
|
155
|
-
auf, ist, sein, war, wird, ihr, ihre, ihres, als, für, von, mit, dich,
|
156
|
-
dir, mich, mir, mein, sein, kein, durch, wegen, wird
|
157
|
-
|
158
|
-
</td>
|
159
|
-
</tr>
|
160
|
-
<tr class="top-aligned-row context-row">
|
161
|
-
<td class="context-item-name">FRENCH</td>
|
162
|
-
<td>=</td>
|
163
|
-
<td class="context-item-value">"http://schemas.talis.com/2007/bigfoot/analyzers#standard-fr".freeze</td>
|
164
|
-
<td width="3em"> </td>
|
165
|
-
<td class="context-item-desc">
|
166
|
-
A standard French language analyzer. Words are split on punctuation
|
167
|
-
characters, removing the punctuation. Words containing a dot are not split.
|
168
|
-
Words containing both hyphens and numbers are not split. Email addresses
|
169
|
-
and hostnames are not split. Stop words are removed and any remaining words
|
170
|
-
are stemmed. Searches on fields with this type of analyzer are case
|
171
|
-
insensitive.
|
172
|
-
|
173
|
-
<p>
|
174
|
-
The following words are considered to be stop words and will not be
|
175
|
-
indexed: a, afin, ai, ainsi, après, attendu, au, aujourd, auquel, aussi,
|
176
|
-
autre, autres, aux, auxquelles, auxquels, avait, avant, avec, avoir, c,
|
177
|
-
car, ce, ceci, cela, celle, celles, celui, cependant, certain, certaine,
|
178
|
-
certaines, certains, ces, cet, cette, ceux, chez, ci, combien, comme,
|
179
|
-
comment, concernant, contre, d, dans, de, debout, dedans, dehors, delà,
|
180
|
-
depuis, derrière, des, désormais, desquelles, desquels, dessous, dessus,
|
181
|
-
devant, devers, devra, divers, diverse, diverses, doit, donc, dont, du,
|
182
|
-
duquel, durant, dès, elle, elles, en, entre, environ, est, et, etc, etre,
|
183
|
-
eu, eux, excepté, hormis, hors, hélas, hui, il, ils, j, je, jusqu,
|
184
|
-
jusque, l, la, laquelle, le, lequel, les, lesquelles, lesquels, leur,
|
185
|
-
leurs, lorsque, lui, là, ma, mais, malgré, me, merci, mes, mien, mienne,
|
186
|
-
miennes, miens, moi, moins, mon, moyennant, même, mêmes, n, ne, ni, non,
|
187
|
-
nos, notre, nous, néanmoins, nôtre, nôtres, on, ont, ou, outre, où,
|
188
|
-
par, parmi, partant, pas, passé, pendant, plein, plus, plusieurs, pour,
|
189
|
-
pourquoi, proche, près, puisque, qu, quand, que, quel, quelle, quelles,
|
190
|
-
quels, qui, quoi, quoique, revoici, revoilà, s, sa, sans, sauf, se, selon,
|
191
|
-
seront, ses, si, sien, sienne, siennes, siens, sinon, soi, soit, son, sont,
|
192
|
-
sous, suivant, sur, ta, te, tes, tien, tienne, tiennes, tiens, toi, ton,
|
193
|
-
tous, tout, toute, toutes, tu, un, une, va, vers, voici, voilà, vos,
|
194
|
-
votre, vous, vu, vôtre, vôtres, y, à, ça, ès, été, être, ô.
|
195
|
-
</p>
|
196
|
-
</td>
|
197
|
-
</tr>
|
198
|
-
<tr class="top-aligned-row context-row">
|
199
|
-
<td class="context-item-name">CJK</td>
|
200
|
-
<td>=</td>
|
201
|
-
<td class="context-item-value">"http://schemas.talis.com/2007/bigfoot/analyzers#standard-cjk".freeze</td>
|
202
|
-
<td width="3em"> </td>
|
203
|
-
<td class="context-item-desc">
|
204
|
-
A standard CJK language analyzer.
|
205
|
-
|
206
|
-
</td>
|
207
|
-
</tr>
|
208
|
-
<tr class="top-aligned-row context-row">
|
209
|
-
<td class="context-item-name">DUTCH</td>
|
210
|
-
<td>=</td>
|
211
|
-
<td class="context-item-value">"http://schemas.talis.com/2007/bigfoot/analyzers#standard-nl".freeze</td>
|
212
|
-
<td width="3em"> </td>
|
213
|
-
<td class="context-item-desc">
|
214
|
-
The following words are considered to be stop words and will not be
|
215
|
-
indexed: de, en, van, ik, te, dat, die, in, een, hij, het, niet, zijn, is,
|
216
|
-
was, op, aan, met, als, voor, had, er, maar, om, hem, dan, zou, of, wat,
|
217
|
-
mijn, men, dit, zo, door, over, ze, zich, bij, ook, tot, je, mij, uit, der,
|
218
|
-
daar, haar, naar, heb, hoe, heeft, hebben, deze, u, want, nog, zal, me,
|
219
|
-
zij, nu, ge, geen, omdat, iets, worden, toch, al, waren, veel, meer, doen,
|
220
|
-
toen, moet, ben, zonder, kan, hun, dus, alles, onder, ja, eens, hier, wie,
|
221
|
-
werd, altijd, doch, wordt, wezen, kunnen, ons, zelf, tegen, na, reeds, wil,
|
222
|
-
kon, niets, uw, iemand, geweest, andere
|
223
|
-
|
224
|
-
</td>
|
225
|
-
</tr>
|
226
|
-
<tr class="top-aligned-row context-row">
|
227
|
-
<td class="context-item-name">CHINESE</td>
|
228
|
-
<td>=</td>
|
229
|
-
<td class="context-item-value">"http://schemas.talis.com/2007/bigfoot/analyzers#standard-cn".freeze</td>
|
230
|
-
</tr>
|
231
|
-
<tr class="top-aligned-row context-row">
|
232
|
-
<td class="context-item-name">KEYWORD</td>
|
233
|
-
<td>=</td>
|
234
|
-
<td class="context-item-value">"http://schemas.talis.com/2007/bigfoot/analyzers#keyword".freeze</td>
|
235
|
-
<td width="3em"> </td>
|
236
|
-
<td class="context-item-desc">
|
237
|
-
This analyzer does not split the field at all. The entire value of the
|
238
|
-
field is indexed as a single token.
|
239
|
-
|
240
|
-
</td>
|
241
|
-
</tr>
|
242
|
-
<tr class="top-aligned-row context-row">
|
243
|
-
<td class="context-item-name">NO_STOP_WORD_STANDARD</td>
|
244
|
-
<td>=</td>
|
245
|
-
<td class="context-item-value">"http://schemas.talis.com/2007/bigfoot/analyzers#nostop-en".freeze</td>
|
246
|
-
<td width="3em"> </td>
|
247
|
-
<td class="context-item-desc">
|
248
|
-
English analyzer without stop words. This is identical to the standard
|
249
|
-
English analyzer but all words are indexed.
|
250
|
-
|
251
|
-
</td>
|
252
|
-
</tr>
|
253
|
-
<tr class="top-aligned-row context-row">
|
254
|
-
<td class="context-item-name">NORMALISE_STANDARD</td>
|
255
|
-
<td>=</td>
|
256
|
-
<td class="context-item-value">"http://schemas.talis.com/2007/bigfoot/analyzers#norm-en".freeze</td>
|
257
|
-
<td width="3em"> </td>
|
258
|
-
<td class="context-item-desc">
|
259
|
-
English analyzer without stop words and with accent support. This is
|
260
|
-
identical to the standard English analyzer but all words are indexed plus
|
261
|
-
any accented characters in the ISO Latin 1 character set are replaced by
|
262
|
-
their unaccented equivalent See API documentation at <a
|
263
|
-
href="http://n2.talis.com/wiki/Field_Predicate_Map">n2.talis.com/wiki/Field_Predicate_Map</a>
|
264
|
-
for details of replacements
|
265
|
-
|
266
|
-
</td>
|
267
|
-
</tr>
|
268
|
-
<tr class="top-aligned-row context-row">
|
269
|
-
<td class="context-item-name">PORTER_NORMALIZE_STANDARD</td>
|
270
|
-
<td>=</td>
|
271
|
-
<td class="context-item-value">"http://schemas.talis.com/2007/bigfoot/analyzers#porter-norm-en".freeze</td>
|
272
|
-
<td width="3em"> </td>
|
273
|
-
<td class="context-item-desc">
|
274
|
-
English analyzer with porter stemming, case normalization, latin 1
|
275
|
-
normalization, and stop words removal
|
276
|
-
|
277
|
-
</td>
|
278
|
-
</tr>
|
279
|
-
<tr class="top-aligned-row context-row">
|
280
|
-
<td class="context-item-name">PORTER_NO_STOP_WORD_STANDARD</td>
|
281
|
-
<td>=</td>
|
282
|
-
<td class="context-item-value">"http://schemas.talis.com/2007/bigfoot/analyzers#porter-nostop-norm-en".freeze</td>
|
283
|
-
<td width="3em"> </td>
|
284
|
-
<td class="context-item-desc">
|
285
|
-
English analyzer with porter stemming, case normalization and latin 1
|
286
|
-
normalization.
|
287
|
-
|
288
|
-
</td>
|
289
|
-
</tr>
|
290
|
-
</table>
|
291
|
-
</div>
|
292
|
-
</div>
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
<!-- if method_list -->
|
300
|
-
|
301
|
-
|
302
|
-
</div>
|
303
|
-
|
304
|
-
|
305
|
-
<div id="validator-badges">
|
306
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
307
|
-
</div>
|
308
|
-
|
309
|
-
</body>
|
310
|
-
</html>
|