Blame view

doc/classes/RIR.html 14.6 KB
7043da90b   Romain Deveaud   first commit
1
2
3
4
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
35f45ab54   Romain Deveaud   changing the main...
5
    <title>Module: RIR [RDoc Documentation]</title>
7043da90b   Romain Deveaud   first commit
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Script-Type" content="text/javascript" />
    <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
    <script type="text/javascript">
    // <![CDATA[
  
    function popupCode( url ) {
      window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
    }
  
    function toggleCode( id ) {
      if ( document.getElementById )
        elem = document.getElementById( id );
      else if ( document.all )
        elem = eval( "document.all." + id );
      else
        return false;
  
      elemStyle = elem.style;
  
      if ( elemStyle.display != "block" ) {
        elemStyle.display = "block"
      } else {
        elemStyle.display = "none"
      }
  
      return true;
    }
  
    // Make codeblocks hidden by default
    document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
  
    // ]]>
    </script>
  
  </head>
  <body>
  
  
      <div id="classHeader">
          <table class="header-table">
          <tr class="top-aligned-row">
            <td><strong>Module</strong></td>
35f45ab54   Romain Deveaud   changing the main...
49
            <td class="class-name-in-header">RIR</td>
7043da90b   Romain Deveaud   first commit
50
51
52
53
          </tr>
          <tr class="top-aligned-row">
              <td><strong>In:</strong></td>
              <td>
a79a22843   Romain Deveaud   new TreeTagger mo...
54
                  <a href="../files/lib/rir/ttagger_rb.html">
7043da90b   Romain Deveaud   first commit
55

a79a22843   Romain Deveaud   new TreeTagger mo...
56
                  lib/rir/ttagger.rb
7043da90b   Romain Deveaud   first commit
57
58
59
60
61
  
                  </a>
  
  
          <br />
4b35d2227   Romain Deveaud   resolving documen...
62
63
64
65
66
67
68
69
                  <a href="../files/lib/rir/corpus_rb.html">
  
                  lib/rir/corpus.rb
  
                  </a>
  
  
          <br />
bc18b961b   Romain Deveaud   more doc
70
                  <a href="../files/lib/rir/query_rb.html">
7043da90b   Romain Deveaud   first commit
71

bc18b961b   Romain Deveaud   more doc
72
73
74
75
76
77
                  lib/rir/query.rb
  
                  </a>
  
  
          <br />
4b35d2227   Romain Deveaud   resolving documen...
78
79
80
81
82
83
84
85
                  <a href="../files/lib/rir/string_rb.html">
  
                  lib/rir/string.rb
  
                  </a>
  
  
          <br />
a79a22843   Romain Deveaud   new TreeTagger mo...
86
                  <a href="../files/lib/rir/document_rb.html">
bc18b961b   Romain Deveaud   more doc
87

a79a22843   Romain Deveaud   new TreeTagger mo...
88
                  lib/rir/document.rb
7043da90b   Romain Deveaud   first commit
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
  
                  </a>
  
  
          <br />
  
              </td>
          </tr>
  
  
          </table>
      </div>
    <!-- banner header -->
  
    <div id="bodyContent">
  
    <div id="contextContent">
  
      <div id="description">
        <p>
bc18b961b   Romain Deveaud   more doc
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
  This file is a part of an Information Retrieval oriented Ruby library
  </p>
  <p>
  Copyright (C) 2010-2011 Romain Deveaud <romain.deveaud@gmail.com>
  </p>
  <p>
  This program is free software: you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published by the Free
  Software Foundation, either version 3 of the License, or (at your option)
  any later version.
  </p>
  <p>
  This program is distributed in the hope that it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  more details.
  </p>
  <p>
  You should have received a copy of the GNU General Public License along
  with this program. If not, see <<a
  href="http://www.gnu.org/licenses/">www.gnu.org/licenses/</a>>.
7043da90b   Romain Deveaud   first commit
130
131
  </p>
  <hr size="1"></hr><p>
bc18b961b   Romain Deveaud   more doc
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
  This file is a part of an Information Retrieval oriented Ruby library
  </p>
  <p>
  Copyright (C) 2010-2011 Romain Deveaud <romain.deveaud@gmail.com>
  </p>
  <p>
  This program is free software: you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published by the Free
  Software Foundation, either version 3 of the License, or (at your option)
  any later version.
  </p>
  <p>
  This program is distributed in the hope that it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  more details.
  </p>
  <p>
  You should have received a copy of the GNU General Public License along
  with this program. If not, see <<a
  href="http://www.gnu.org/licenses/">www.gnu.org/licenses/</a>>.
  </p>
  <hr size="1"></hr><p>
4b35d2227   Romain Deveaud   resolving documen...
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
  This file is a part of an Information Retrieval oriented Ruby library
  </p>
  <p>
  Copyright (C) 2010-2011 Romain Deveaud <romain.deveaud@gmail.com>
  </p>
  <p>
  This program is free software: you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published by the Free
  Software Foundation, either version 3 of the License, or (at your option)
  any later version.
  </p>
  <p>
  This program is distributed in the hope that it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  more details.
  </p>
  <p>
  You should have received a copy of the GNU General Public License along
  with this program. If not, see <<a
  href="http://www.gnu.org/licenses/">www.gnu.org/licenses/</a>>.
  </p>
  <hr size="1"></hr><p>
  This file is a part of an Information Retrieval oriented Ruby library
  </p>
  <p>
  Copyright (C) 2010-2011 Romain Deveaud <romain.deveaud@gmail.com>
  </p>
  <p>
  This program is free software: you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published by the Free
  Software Foundation, either version 3 of the License, or (at your option)
  any later version.
  </p>
  <p>
  This program is distributed in the hope that it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  more details.
  </p>
  <p>
  You should have received a copy of the GNU General Public License along
  with this program. If not, see <<a
  href="http://www.gnu.org/licenses/">www.gnu.org/licenses/</a>>.
  </p>
  <hr size="1"></hr><p>
a79a22843   Romain Deveaud   new TreeTagger mo...
201
  General module for many purposes related to Information Retrieval.
7043da90b   Romain Deveaud   first commit
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
  </p>
  
      </div>
  
     </div>
  
  
    </div>
  
      <!-- if includes -->
  
      <div id="section">
  
      <div id="class-list">
        <h3 class="section-bar">Classes and Modules</h3>
bc18b961b   Romain Deveaud   more doc
217
        Module <a href="RIR/Indri.html" class="link">RIR::Indri</a><br />
a79a22843   Romain Deveaud   new TreeTagger mo...
218
  Module <a href="RIR/TreeTagger.html" class="link">RIR::TreeTagger</a><br />
4b35d2227   Romain Deveaud   resolving documen...
219
  Class <a href="RIR/Corpus.html" class="link">RIR::Corpus</a><br />
a79a22843   Romain Deveaud   new TreeTagger mo...
220
  Class <a href="RIR/Document.html" class="link">RIR::Document</a><br />
bc18b961b   Romain Deveaud   more doc
221
  Class <a href="RIR/Query.html" class="link">RIR::Query</a><br />
a79a22843   Romain Deveaud   new TreeTagger mo...
222
223
  Class <a href="RIR/WebDocument.html" class="link">RIR::WebDocument</a><br />
  Class <a href="RIR/WikipediaPage.html" class="link">RIR::WikipediaPage</a><br />
7043da90b   Romain Deveaud   first commit
224
225
  
      </div>
4b35d2227   Romain Deveaud   resolving documen...
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
      <div id="constants-list">
        <h3 class="section-bar">Constants</h3>
  
        <div class="name-list">
          <table summary="Constants">
  
          <tr class="top-aligned-row context-row">
            <td class="context-item-name">Stoplist</td>
            <td>=</td>
            <td class="context-item-value">[   &quot;a&quot;, &quot;anything&quot;, &quot;anyway&quot;, &quot;anywhere&quot;, &quot;apart&quot;, &quot;are&quot;, &quot;around&quot;, &quot;as&quot;, &quot;at&quot;, &quot;av&quot;,   &quot;be&quot;, &quot;became&quot;, &quot;because&quot;, &quot;become&quot;, &quot;becomes&quot;, &quot;becoming&quot;, &quot;been&quot;, &quot;before&quot;, &quot;beforehand&quot;,   &quot;behind&quot;, &quot;being&quot;, &quot;below&quot;, &quot;beside&quot;, &quot;besides&quot;, &quot;between&quot;, &quot;beyond&quot;, &quot;both&quot;, &quot;but&quot;, &quot;by&quot;,   &quot;can&quot;, &quot;cannot&quot;, &quot;canst&quot;, &quot;certain&quot;, &quot;cf&quot;, &quot;choose&quot;, &quot;contrariwise&quot;, &quot;cos&quot;, &quot;could&quot;, &quot;cu&quot;,   &quot;day&quot;, &quot;do&quot;, &quot;does&quot;, &quot;doesn't&quot;, &quot;doing&quot;, &quot;dost&quot;, &quot;doth&quot;, &quot;double&quot;, &quot;down&quot;, &quot;dual&quot;, &quot;during&quot;,   &quot;each&quot;, &quot;either&quot;, &quot;else&quot;, &quot;elsewhere&quot;, &quot;enough&quot;, &quot;et&quot;, &quot;etc&quot;, &quot;even&quot;, &quot;ever&quot;, &quot;every&quot;,   &quot;everybody&quot;, &quot;everyone&quot;, &quot;everything&quot;, &quot;everywhere&quot;, &quot;except&quot;, &quot;excepted&quot;, &quot;excepting&quot;,   &quot;exception&quot;, &quot;exclude&quot;, &quot;excluding&quot;, &quot;exclusive&quot;, &quot;far&quot;, &quot;farther&quot;, &quot;farthest&quot;, &quot;few&quot;, &quot;ff&quot;,   &quot;first&quot;, &quot;for&quot;, &quot;formerly&quot;, &quot;forth&quot;, &quot;forward&quot;, &quot;from&quot;, &quot;front&quot;, &quot;further&quot;, &quot;furthermore&quot;,   &quot;furthest&quot;, &quot;get&quot;, &quot;go&quot;, &quot;had&quot;, &quot;halves&quot;, &quot;hardly&quot;, &quot;has&quot;, &quot;hast&quot;, &quot;hath&quot;, &quot;have&quot;, &quot;he&quot;,   &quot;hence&quot;, &quot;henceforth&quot;, &quot;her&quot;, &quot;here&quot;, &quot;hereabouts&quot;, &quot;hereafter&quot;, &quot;hereby&quot;, &quot;herein&quot;, &quot;hereto&quot;,   &quot;hereupon&quot;, &quot;hers&quot;, &quot;herself&quot;, &quot;him&quot;, &quot;himself&quot;, &quot;hindmost&quot;, &quot;his&quot;, &quot;hither&quot;, &quot;hitherto&quot;,   &quot;how&quot;, &quot;however&quot;, &quot;howsoever&quot;, &quot;i&quot;, &quot;ie&quot;, &quot;if&quot;, &quot;in&quot;, &quot;inasmuch&quot;, &quot;inc&quot;, &quot;include&quot;,   &quot;included&quot;, &quot;including&quot;, &quot;indeed&quot;, &quot;indoors&quot;, &quot;inside&quot;, &quot;insomuch&quot;, &quot;instead&quot;, &quot;into&quot;,   &quot;inward&quot;, &quot;inwards&quot;, &quot;is&quot;, &quot;it&quot;, &quot;its&quot;, &quot;itself&quot;, &quot;just&quot;, &quot;kind&quot;, &quot;kg&quot;, &quot;km&quot;, &quot;last&quot;,   &quot;latter&quot;, &quot;latterly&quot;, &quot;less&quot;, &quot;lest&quot;, &quot;let&quot;, &quot;like&quot;, &quot;little&quot;, &quot;ltd&quot;, &quot;many&quot;, &quot;may&quot;, &quot;maybe&quot;,   &quot;me&quot;, &quot;meantime&quot;, &quot;meanwhile&quot;, &quot;might&quot;, &quot;moreover&quot;, &quot;most&quot;, &quot;mostly&quot;, &quot;more&quot;, &quot;mr&quot;, &quot;mrs&quot;,   &quot;ms&quot;, &quot;much&quot;, &quot;must&quot;, &quot;my&quot;, &quot;myself&quot;, &quot;namely&quot;, &quot;need&quot;, &quot;neither&quot;, &quot;never&quot;, &quot;nevertheless&quot;,   &quot;next&quot;, &quot;no&quot;, &quot;nobody&quot;, &quot;none&quot;, &quot;nonetheless&quot;, &quot;noone&quot;, &quot;nope&quot;, &quot;nor&quot;, &quot;not&quot;, &quot;nothing&quot;,   &quot;notwithstanding&quot;, &quot;now&quot;, &quot;nowadays&quot;, &quot;nowhere&quot;, &quot;of&quot;, &quot;off&quot;, &quot;often&quot;, &quot;ok&quot;, &quot;on&quot;, &quot;once&quot;,   &quot;one&quot;, &quot;only&quot;, &quot;onto&quot;, &quot;or&quot;, &quot;other&quot;, &quot;others&quot;, &quot;otherwise&quot;, &quot;ought&quot;, &quot;our&quot;, &quot;ours&quot;,   &quot;ourselves&quot;, &quot;out&quot;, &quot;outside&quot;, &quot;over&quot;, &quot;own&quot;, &quot;per&quot;, &quot;perhaps&quot;, &quot;plenty&quot;, &quot;provide&quot;, &quot;quite&quot;,   &quot;rather&quot;, &quot;really&quot;, &quot;round&quot;, &quot;said&quot;, &quot;sake&quot;, &quot;same&quot;, &quot;sang&quot;, &quot;save&quot;, &quot;saw&quot;, &quot;see&quot;, &quot;seeing&quot;,   &quot;seem&quot;, &quot;seemed&quot;, &quot;seeming&quot;, &quot;seems&quot;, &quot;seen&quot;, &quot;seldom&quot;, &quot;selves&quot;, &quot;sent&quot;, &quot;several&quot;, &quot;shalt&quot;,   &quot;she&quot;, &quot;should&quot;, &quot;shown&quot;, &quot;sideways&quot;, &quot;since&quot;, &quot;slept&quot;, &quot;slew&quot;, &quot;slung&quot;, &quot;slunk&quot;, &quot;smote&quot;,   &quot;so&quot;, &quot;some&quot;, &quot;somebody&quot;, &quot;somehow&quot;, &quot;someone&quot;, &quot;something&quot;, &quot;sometime&quot;, &quot;sometimes&quot;,   &quot;somewhat&quot;, &quot;somewhere&quot;, &quot;spake&quot;, &quot;spat&quot;, &quot;spoke&quot;, &quot;spoken&quot;, &quot;sprang&quot;, &quot;sprung&quot;, &quot;stave&quot;,   &quot;staves&quot;, &quot;still&quot;, &quot;such&quot;, &quot;supposing&quot;, &quot;than&quot;, &quot;that&quot;, &quot;the&quot;, &quot;thee&quot;, &quot;their&quot;, &quot;them&quot;,   &quot;themselves&quot;, &quot;then&quot;, &quot;thence&quot;, &quot;thenceforth&quot;, &quot;there&quot;, &quot;thereabout&quot;, &quot;thereabouts&quot;,   &quot;thereafter&quot;, &quot;thereby&quot;, &quot;therefore&quot;, &quot;therein&quot;, &quot;thereof&quot;, &quot;thereon&quot;, &quot;thereto&quot;, &quot;thereupon&quot;,   &quot;these&quot;, &quot;they&quot;, &quot;this&quot;, &quot;those&quot;, &quot;thou&quot;, &quot;though&quot;, &quot;thrice&quot;, &quot;through&quot;, &quot;throughout&quot;, &quot;thru&quot;,   &quot;thus&quot;, &quot;thy&quot;, &quot;thyself&quot;, &quot;till&quot;, &quot;to&quot;, &quot;together&quot;, &quot;too&quot;, &quot;toward&quot;, &quot;towards&quot;, &quot;ugh&quot;,   &quot;unable&quot;, &quot;under&quot;, &quot;underneath&quot;, &quot;unless&quot;, &quot;unlike&quot;, &quot;until&quot;, &quot;up&quot;, &quot;upon&quot;, &quot;upward&quot;,   &quot;upwards&quot;, &quot;us&quot;, &quot;use&quot;, &quot;used&quot;, &quot;using&quot;, &quot;very&quot;, &quot;via&quot;, &quot;vs&quot;, &quot;want&quot;, &quot;was&quot;, &quot;we&quot;, &quot;week&quot;,   &quot;well&quot;, &quot;were&quot;, &quot;what&quot;, &quot;whatever&quot;, &quot;whatsoever&quot;, &quot;when&quot;, &quot;whence&quot;, &quot;whenever&quot;, &quot;whensoever&quot;,   &quot;where&quot;, &quot;whereabouts&quot;, &quot;whereafter&quot;, &quot;whereas&quot;, &quot;whereat&quot;, &quot;whereby&quot;, &quot;wherefore&quot;,   &quot;wherefrom&quot;, &quot;wherein&quot;, &quot;whereinto&quot;, &quot;whereof&quot;, &quot;whereon&quot;, &quot;wheresoever&quot;, &quot;whereto&quot;,   &quot;whereunto&quot;, &quot;whereupon&quot;, &quot;wherever&quot;, &quot;wherewith&quot;, &quot;whether&quot;, &quot;whew&quot;, &quot;which&quot;, &quot;whichever&quot;,   &quot;whichsoever&quot;, &quot;while&quot;, &quot;whilst&quot;, &quot;whither&quot;, &quot;who&quot;, &quot;whoa&quot;, &quot;whoever&quot;, &quot;whole&quot;, &quot;whom&quot;,   &quot;whomever&quot;, &quot;whomsoever&quot;, &quot;whose&quot;, &quot;whosoever&quot;, &quot;why&quot;, &quot;will&quot;, &quot;wilt&quot;, &quot;with&quot;, &quot;within&quot;,   &quot;without&quot;, &quot;worse&quot;, &quot;worst&quot;, &quot;would&quot;, &quot;wow&quot;, &quot;ye&quot;, &quot;yet&quot;, &quot;year&quot;, &quot;yippee&quot;, &quot;you&quot;, &quot;your&quot;,   &quot;yours&quot;, &quot;yourself&quot;, &quot;yourselves&quot;    ]</td>
  
            <td>&nbsp;</td>
            <td class="context-item-desc">
  These are the default stopwords provided by Lemur.
  
  </td>
  
          </tr>
  
          </table>
        </div>
      </div>
7043da90b   Romain Deveaud   first commit
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
  
  
  
      <!-- if method_list -->
  
  
  
  
    </div>
  
  <div id="validator-badges">
    <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
  </div>
  
  </body>
  </html>