~ubuntu-branches/ubuntu/trusty/hyperestraier/trusty-proposed

« back to all changes in this revision

Viewing changes to doc/rubypureapi/classes/EstraierPure/Document.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2006-11-14 05:28:32 UTC
  • mfrom: (2.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061114052832-0lzqzcefn8mt4yqe
Tags: 1.4.9-1.1
* Non-maintainer upload.
* High-urgency upload for RC bugfix.
* Set HOME=$(CURDIR)/junkhome when building, otherwise the package build
  will incorrectly look for headers there -- and fail when the directory
  exists and is unreadable, as happens sometimes on sudo-using
  autobuilders!

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
      <h3 class="section-bar">Methods</h3>
93
93
 
94
94
      <div class="name-list">
95
 
      <a href="#M000048">add_attr</a>&nbsp;&nbsp;
96
 
      <a href="#M000050">add_hidden_text</a>&nbsp;&nbsp;
97
 
      <a href="#M000049">add_text</a>&nbsp;&nbsp;
98
 
      <a href="#M000053">attr</a>&nbsp;&nbsp;
99
 
      <a href="#M000052">attr_names</a>&nbsp;&nbsp;
100
 
      <a href="#M000055">cat_texts</a>&nbsp;&nbsp;
101
 
      <a href="#M000056">dump_draft</a>&nbsp;&nbsp;
102
 
      <a href="#M000051">id</a>&nbsp;&nbsp;
103
 
      <a href="#M000057">new</a>&nbsp;&nbsp;
104
 
      <a href="#M000054">texts</a>&nbsp;&nbsp;
 
95
      <a href="#M000062">add_attr</a>&nbsp;&nbsp;
 
96
      <a href="#M000064">add_hidden_text</a>&nbsp;&nbsp;
 
97
      <a href="#M000063">add_text</a>&nbsp;&nbsp;
 
98
      <a href="#M000069">attr</a>&nbsp;&nbsp;
 
99
      <a href="#M000068">attr_names</a>&nbsp;&nbsp;
 
100
      <a href="#M000071">cat_texts</a>&nbsp;&nbsp;
 
101
      <a href="#M000072">dump_draft</a>&nbsp;&nbsp;
 
102
      <a href="#M000067">id</a>&nbsp;&nbsp;
 
103
      <a href="#M000073">keywords</a>&nbsp;&nbsp;
 
104
      <a href="#M000075">new</a>&nbsp;&nbsp;
 
105
      <a href="#M000074">score</a>&nbsp;&nbsp;
 
106
      <a href="#M000065">set_keywords</a>&nbsp;&nbsp;
 
107
      <a href="#M000066">set_score</a>&nbsp;&nbsp;
 
108
      <a href="#M000070">texts</a>&nbsp;&nbsp;
105
109
      </div>
106
110
    </div>
107
111
 
123
127
    <div id="methods">
124
128
      <h3 class="section-bar">Public Class methods</h3>
125
129
 
126
 
      <div id="method-M000057" class="method-detail">
127
 
        <a name="M000057"></a>
 
130
      <div id="method-M000075" class="method-detail">
 
131
        <a name="M000075"></a>
128
132
 
129
133
        <div class="method-heading">
130
 
          <a href="Document.src/M000057.html" target="Code" class="method-signature"
131
 
            onclick="popupCode('Document.src/M000057.html');return false;">
 
134
          <a href="Document.src/M000075.html" target="Code" class="method-signature"
 
135
            onclick="popupCode('Document.src/M000075.html');return false;">
132
136
          <span class="method-name">new</span><span class="method-args">(draft = &quot;&quot;)</span>
133
137
          </a>
134
138
        </div>
142
146
 
143
147
      <h3 class="section-bar">Public Instance methods</h3>
144
148
 
145
 
      <div id="method-M000048" class="method-detail">
146
 
        <a name="M000048"></a>
 
149
      <div id="method-M000062" class="method-detail">
 
150
        <a name="M000062"></a>
147
151
 
148
152
        <div class="method-heading">
149
 
          <a href="Document.src/M000048.html" target="Code" class="method-signature"
150
 
            onclick="popupCode('Document.src/M000048.html');return false;">
 
153
          <a href="Document.src/M000062.html" target="Code" class="method-signature"
 
154
            onclick="popupCode('Document.src/M000062.html');return false;">
151
155
          <span class="method-name">add_attr</span><span class="method-args">(name, value)</span>
152
156
          </a>
153
157
        </div>
161
165
        </div>
162
166
      </div>
163
167
 
164
 
      <div id="method-M000050" class="method-detail">
165
 
        <a name="M000050"></a>
 
168
      <div id="method-M000064" class="method-detail">
 
169
        <a name="M000064"></a>
166
170
 
167
171
        <div class="method-heading">
168
 
          <a href="Document.src/M000050.html" target="Code" class="method-signature"
169
 
            onclick="popupCode('Document.src/M000050.html');return false;">
 
172
          <a href="Document.src/M000064.html" target="Code" class="method-signature"
 
173
            onclick="popupCode('Document.src/M000064.html');return false;">
170
174
          <span class="method-name">add_hidden_text</span><span class="method-args">(text)</span>
171
175
          </a>
172
176
        </div>
179
183
        </div>
180
184
      </div>
181
185
 
182
 
      <div id="method-M000049" class="method-detail">
183
 
        <a name="M000049"></a>
 
186
      <div id="method-M000063" class="method-detail">
 
187
        <a name="M000063"></a>
184
188
 
185
189
        <div class="method-heading">
186
 
          <a href="Document.src/M000049.html" target="Code" class="method-signature"
187
 
            onclick="popupCode('Document.src/M000049.html');return false;">
 
190
          <a href="Document.src/M000063.html" target="Code" class="method-signature"
 
191
            onclick="popupCode('Document.src/M000063.html');return false;">
188
192
          <span class="method-name">add_text</span><span class="method-args">(text)</span>
189
193
          </a>
190
194
        </div>
197
201
        </div>
198
202
      </div>
199
203
 
200
 
      <div id="method-M000053" class="method-detail">
201
 
        <a name="M000053"></a>
 
204
      <div id="method-M000069" class="method-detail">
 
205
        <a name="M000069"></a>
202
206
 
203
207
        <div class="method-heading">
204
 
          <a href="Document.src/M000053.html" target="Code" class="method-signature"
205
 
            onclick="popupCode('Document.src/M000053.html');return false;">
 
208
          <a href="Document.src/M000069.html" target="Code" class="method-signature"
 
209
            onclick="popupCode('Document.src/M000069.html');return false;">
206
210
          <span class="method-name">attr</span><span class="method-args">(name)</span>
207
211
          </a>
208
212
        </div>
216
220
        </div>
217
221
      </div>
218
222
 
219
 
      <div id="method-M000052" class="method-detail">
220
 
        <a name="M000052"></a>
 
223
      <div id="method-M000068" class="method-detail">
 
224
        <a name="M000068"></a>
221
225
 
222
226
        <div class="method-heading">
223
 
          <a href="Document.src/M000052.html" target="Code" class="method-signature"
224
 
            onclick="popupCode('Document.src/M000052.html');return false;">
 
227
          <a href="Document.src/M000068.html" target="Code" class="method-signature"
 
228
            onclick="popupCode('Document.src/M000068.html');return false;">
225
229
          <span class="method-name">attr_names</span><span class="method-args">()</span>
226
230
          </a>
227
231
        </div>
228
232
      
229
233
        <div class="method-description">
230
234
          <p>
231
 
Get a list of attribute names of a document object. The return value is a
232
 
list object of attribute names.
 
235
Get an array of attribute names of a document object. The return value is
 
236
an array object of attribute names.
233
237
</p>
234
238
        </div>
235
239
      </div>
236
240
 
237
 
      <div id="method-M000055" class="method-detail">
238
 
        <a name="M000055"></a>
 
241
      <div id="method-M000071" class="method-detail">
 
242
        <a name="M000071"></a>
239
243
 
240
244
        <div class="method-heading">
241
 
          <a href="Document.src/M000055.html" target="Code" class="method-signature"
242
 
            onclick="popupCode('Document.src/M000055.html');return false;">
 
245
          <a href="Document.src/M000071.html" target="Code" class="method-signature"
 
246
            onclick="popupCode('Document.src/M000071.html');return false;">
243
247
          <span class="method-name">cat_texts</span><span class="method-args">()</span>
244
248
          </a>
245
249
        </div>
252
256
        </div>
253
257
      </div>
254
258
 
255
 
      <div id="method-M000056" class="method-detail">
256
 
        <a name="M000056"></a>
 
259
      <div id="method-M000072" class="method-detail">
 
260
        <a name="M000072"></a>
257
261
 
258
262
        <div class="method-heading">
259
 
          <a href="Document.src/M000056.html" target="Code" class="method-signature"
260
 
            onclick="popupCode('Document.src/M000056.html');return false;">
 
263
          <a href="Document.src/M000072.html" target="Code" class="method-signature"
 
264
            onclick="popupCode('Document.src/M000072.html');return false;">
261
265
          <span class="method-name">dump_draft</span><span class="method-args">()</span>
262
266
          </a>
263
267
        </div>
269
273
        </div>
270
274
      </div>
271
275
 
272
 
      <div id="method-M000051" class="method-detail">
273
 
        <a name="M000051"></a>
 
276
      <div id="method-M000067" class="method-detail">
 
277
        <a name="M000067"></a>
274
278
 
275
279
        <div class="method-heading">
276
 
          <a href="Document.src/M000051.html" target="Code" class="method-signature"
277
 
            onclick="popupCode('Document.src/M000051.html');return false;">
 
280
          <a href="Document.src/M000067.html" target="Code" class="method-signature"
 
281
            onclick="popupCode('Document.src/M000067.html');return false;">
278
282
          <span class="method-name">id</span><span class="method-args">()</span>
279
283
          </a>
280
284
        </div>
287
291
        </div>
288
292
      </div>
289
293
 
290
 
      <div id="method-M000054" class="method-detail">
291
 
        <a name="M000054"></a>
292
 
 
293
 
        <div class="method-heading">
294
 
          <a href="Document.src/M000054.html" target="Code" class="method-signature"
295
 
            onclick="popupCode('Document.src/M000054.html');return false;">
 
294
      <div id="method-M000073" class="method-detail">
 
295
        <a name="M000073"></a>
 
296
 
 
297
        <div class="method-heading">
 
298
          <a href="Document.src/M000073.html" target="Code" class="method-signature"
 
299
            onclick="popupCode('Document.src/M000073.html');return false;">
 
300
          <span class="method-name">keywords</span><span class="method-args">()</span>
 
301
          </a>
 
302
        </div>
 
303
      
 
304
        <div class="method-description">
 
305
          <p>
 
306
Get attached keywords. The return value is a map object of keywords and
 
307
their scores in decimal string. If no keyword is attached, `nil&#8217; is
 
308
returned.
 
309
</p>
 
310
        </div>
 
311
      </div>
 
312
 
 
313
      <div id="method-M000074" class="method-detail">
 
314
        <a name="M000074"></a>
 
315
 
 
316
        <div class="method-heading">
 
317
          <a href="Document.src/M000074.html" target="Code" class="method-signature"
 
318
            onclick="popupCode('Document.src/M000074.html');return false;">
 
319
          <span class="method-name">score</span><span class="method-args">()</span>
 
320
          </a>
 
321
        </div>
 
322
      
 
323
        <div class="method-description">
 
324
          <p>
 
325
Get the substitute score. The return value is the substitute score or -1 if
 
326
it is not set.
 
327
</p>
 
328
        </div>
 
329
      </div>
 
330
 
 
331
      <div id="method-M000065" class="method-detail">
 
332
        <a name="M000065"></a>
 
333
 
 
334
        <div class="method-heading">
 
335
          <a href="Document.src/M000065.html" target="Code" class="method-signature"
 
336
            onclick="popupCode('Document.src/M000065.html');return false;">
 
337
          <span class="method-name">set_keywords</span><span class="method-args">(kwords)</span>
 
338
          </a>
 
339
        </div>
 
340
      
 
341
        <div class="method-description">
 
342
          <p>
 
343
Attach keywords. `kwords&#8217; specifies a map object of keywords. Keys of
 
344
the map should be keywords of the document and values should be their
 
345
scores in decimal string. The return value is always `nil&#8217;.
 
346
</p>
 
347
        </div>
 
348
      </div>
 
349
 
 
350
      <div id="method-M000066" class="method-detail">
 
351
        <a name="M000066"></a>
 
352
 
 
353
        <div class="method-heading">
 
354
          <a href="Document.src/M000066.html" target="Code" class="method-signature"
 
355
            onclick="popupCode('Document.src/M000066.html');return false;">
 
356
          <span class="method-name">set_score</span><span class="method-args">(score)</span>
 
357
          </a>
 
358
        </div>
 
359
      
 
360
        <div class="method-description">
 
361
          <p>
 
362
Set the substitute score. `score&#8217; specifies the substitute score. It
 
363
it is negative, the substitute score setting is nullified. The return value
 
364
is always `nil&#8217;.
 
365
</p>
 
366
        </div>
 
367
      </div>
 
368
 
 
369
      <div id="method-M000070" class="method-detail">
 
370
        <a name="M000070"></a>
 
371
 
 
372
        <div class="method-heading">
 
373
          <a href="Document.src/M000070.html" target="Code" class="method-signature"
 
374
            onclick="popupCode('Document.src/M000070.html');return false;">
296
375
          <span class="method-name">texts</span><span class="method-args">()</span>
297
376
          </a>
298
377
        </div>
299
378
      
300
379
        <div class="method-description">
301
380
          <p>
302
 
Get a list of sentences of the text. The return value is a list object of
303
 
sentences of the text.
 
381
Get an array of sentences of the text. The return value is an array object
 
382
of sentences of the text.
304
383
</p>
305
384
        </div>
306
385
      </div>