Commit 81ed24dd04a9524e59c08248af3647dae5830d56
1 parent
4b35d22277
Exists in
master
modules revamp.
Showing 63 changed files with 2301 additions and 669 deletions Side-by-side Diff
- doc/classes/Corpus.html
- doc/classes/Corpus.src/M000001.html
- doc/classes/Corpus.src/M000002.html
- doc/classes/Indri.html
- doc/classes/Indri/IndriQuery.html
- doc/classes/Indri/IndriQuery.src/M000020.html
- doc/classes/Indri/IndriQuery.src/M000021.html
- doc/classes/Indri/Parameters.html
- doc/classes/Indri/Parameters.src/M000018.html
- doc/classes/Indri/Parameters.src/M000019.html
- doc/classes/Query.html
- doc/classes/RIR.html
- doc/classes/RIR/Document.src/M000022.html
- doc/classes/RIR/Document.src/M000023.html
- doc/classes/RIR/Document.src/M000024.html
- doc/classes/RIR/Document.src/M000025.html
- doc/classes/RIR/Document.src/M000026.html
- doc/classes/RIR/Document.src/M000027.html
- doc/classes/RIR/WebDocument.src/M000028.html
- doc/classes/RIR/WebDocument.src/M000029.html
- doc/classes/RIR/WikipediaPage.src/M000030.html
- doc/classes/RIR/WikipediaPage.src/M000031.html
- doc/classes/RIR/WikipediaPage.src/M000032.html
- doc/classes/Regexp.html
- doc/classes/Regexp.src/M000003.html
- doc/classes/String.html
- doc/classes/String.src/M000004.html
- doc/classes/String.src/M000005.html
- doc/classes/String.src/M000006.html
- doc/classes/String.src/M000007.html
- doc/classes/String.src/M000008.html
- doc/classes/String.src/M000009.html
- doc/classes/String.src/M000010.html
- doc/classes/String.src/M000011.html
- doc/classes/String.src/M000012.html
- doc/classes/String.src/M000013.html
- doc/classes/String.src/M000014.html
- doc/classes/TreeTagger.html
- doc/classes/TreeTagger/Chunk.html
- doc/classes/TreeTagger/Chunk.src/M000017.html
- doc/classes/TreeTagger/TaggerChunker.html
- doc/classes/TreeTagger/TaggerChunker.src/M000015.html
- doc/classes/TreeTagger/TaggerChunker.src/M000016.html
- doc/classes/TreeTagger/TaggerChunkerEnglish.html
- doc/classes/TreeTagger/TaggerChunkerFrench.html
- doc/classes/TreeTagger/TaggerChunkerGerman.html
- doc/created.rid
- doc/files/lib/rir/corpus_rb.html
- doc/files/lib/rir/document_rb.html
- doc/files/lib/rir/query_rb.html
- doc/files/lib/rir/regexp_rb.html
- doc/files/lib/rir/string_rb.html
- doc/files/lib/rir/ttagger_rb.html
- doc/fr_class_index.html
- doc/fr_file_index.html
- doc/fr_method_index.html
- doc/index.html
- lib/rir/corpus.rb
- lib/rir/document.rb
- lib/rir/query.rb
- lib/rir/regexp.rb
- lib/rir/string.rb
- lib/rir/ttagger.rb
doc/classes/Corpus.html
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
2 | +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
3 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
4 | +<head> | |
5 | + <title>Class: Corpus [RDoc Documentation]</title> | |
6 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
7 | + <meta http-equiv="Content-Script-Type" content="text/javascript" /> | |
8 | + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> | |
9 | + <script type="text/javascript"> | |
10 | + // <![CDATA[ | |
11 | + | |
12 | + function popupCode( url ) { | |
13 | + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") | |
14 | + } | |
15 | + | |
16 | + function toggleCode( id ) { | |
17 | + if ( document.getElementById ) | |
18 | + elem = document.getElementById( id ); | |
19 | + else if ( document.all ) | |
20 | + elem = eval( "document.all." + id ); | |
21 | + else | |
22 | + return false; | |
23 | + | |
24 | + elemStyle = elem.style; | |
25 | + | |
26 | + if ( elemStyle.display != "block" ) { | |
27 | + elemStyle.display = "block" | |
28 | + } else { | |
29 | + elemStyle.display = "none" | |
30 | + } | |
31 | + | |
32 | + return true; | |
33 | + } | |
34 | + | |
35 | + // Make codeblocks hidden by default | |
36 | + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" ) | |
37 | + | |
38 | + // ]]> | |
39 | + </script> | |
40 | + | |
41 | +</head> | |
42 | +<body> | |
43 | + | |
44 | + | |
45 | + <div id="classHeader"> | |
46 | + <table class="header-table"> | |
47 | + <tr class="top-aligned-row"> | |
48 | + <td><strong>Class</strong></td> | |
49 | + <td class="class-name-in-header">Corpus</td> | |
50 | + </tr> | |
51 | + <tr class="top-aligned-row"> | |
52 | + <td><strong>In:</strong></td> | |
53 | + <td> | |
54 | + | |
55 | + | |
56 | + <a href="../files/lib/rir/corpus_rb.html"> | |
57 | + | |
58 | + lib/rir/corpus.rb | |
59 | + | |
60 | + </a> | |
61 | + | |
62 | + | |
63 | + <br /> | |
64 | + | |
65 | + </td> | |
66 | + </tr> | |
67 | + | |
68 | + | |
69 | + <tr class="top-aligned-row"> | |
70 | + <td><strong>Parent:</strong></td> | |
71 | + <td> | |
72 | + | |
73 | + Object | |
74 | + | |
75 | + </td> | |
76 | + </tr> | |
77 | + | |
78 | + </table> | |
79 | + </div> | |
80 | + <!-- banner header --> | |
81 | + | |
82 | + <div id="bodyContent"> | |
83 | + | |
84 | + <div id="contextContent"> | |
85 | + | |
86 | + </div> | |
87 | + | |
88 | + | |
89 | + <div id="method-list"> | |
90 | + <h3 class="section-bar">Methods</h3> | |
91 | + | |
92 | + <div class="name-list"> | |
93 | + | |
94 | + <a href="#M000002">files</a> | |
95 | + | |
96 | + <a href="#M000001">new</a> | |
97 | + | |
98 | + </div> | |
99 | + </div> | |
100 | + | |
101 | + </div> | |
102 | + | |
103 | + <!-- if includes --> | |
104 | + | |
105 | + <div id="section"> | |
106 | + | |
107 | + | |
108 | + | |
109 | + <div id="attribute-list"> | |
110 | + <h3 class="section-bar">Attributes</h3> | |
111 | + | |
112 | + <div class="name-list"> | |
113 | + <table> | |
114 | + | |
115 | + <tr class="top-aligned-row context-row"> | |
116 | + <td class="context-item-name">path</td> | |
117 | + | |
118 | + <td class="context-item-value"> [RW] </td> | |
119 | + | |
120 | + <td class="context-item-desc"></td> | |
121 | + </tr> | |
122 | + | |
123 | + </table> | |
124 | + </div> | |
125 | + </div> | |
126 | + | |
127 | + | |
128 | + <!-- if method_list --> | |
129 | + | |
130 | + <div id="methods"> | |
131 | + | |
132 | + <h3 class="section-bar">Public Class methods</h3> | |
133 | + | |
134 | + | |
135 | + <div id="method-M000001" class="method-detail"> | |
136 | + <a name="M000001"></a> | |
137 | + | |
138 | + <div class="method-heading"> | |
139 | + | |
140 | + <a href="Corpus.src/M000001.html" target="Code" class="method-signature" | |
141 | + onclick="popupCode('Corpus.src/M000001.html');return false;"> | |
142 | + | |
143 | + <span class="method-name">new</span><span class="method-args">(path)</span> | |
144 | + | |
145 | + </a> | |
146 | + | |
147 | + </div> | |
148 | + | |
149 | + <div class="method-description"> | |
150 | + | |
151 | + </div> | |
152 | + </div> | |
153 | + | |
154 | + | |
155 | + <h3 class="section-bar">Public Instance methods</h3> | |
156 | + | |
157 | + | |
158 | + <div id="method-M000002" class="method-detail"> | |
159 | + <a name="M000002"></a> | |
160 | + | |
161 | + <div class="method-heading"> | |
162 | + | |
163 | + <a href="Corpus.src/M000002.html" target="Code" class="method-signature" | |
164 | + onclick="popupCode('Corpus.src/M000002.html');return false;"> | |
165 | + | |
166 | + <span class="method-name">files</span><span class="method-args">()</span> | |
167 | + | |
168 | + </a> | |
169 | + | |
170 | + </div> | |
171 | + | |
172 | + <div class="method-description"> | |
173 | + | |
174 | + <p> | |
175 | +Recursively outputs all files in <tt>self.path</tt>. WARNING ! This | |
176 | +function may take a lot of time if many files are in subdirectories. | |
177 | +</p> | |
178 | +<pre> | |
179 | + c = Corpus.new "my/path" | |
180 | + c.files # => ["README.txt", "lib/code.rb"] | |
181 | +</pre> | |
182 | + | |
183 | + </div> | |
184 | + </div> | |
185 | + | |
186 | + | |
187 | + | |
188 | + </div> | |
189 | + | |
190 | + | |
191 | + | |
192 | + | |
193 | + </div> | |
194 | + | |
195 | +<div id="validator-badges"> | |
196 | + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> | |
197 | +</div> | |
198 | + | |
199 | +</body> | |
200 | +</html> |
doc/classes/Corpus.src/M000001.html
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
2 | +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
3 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
4 | +<head> | |
5 | + <title>new (Corpus)</title> | |
6 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
7 | + <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> | |
8 | +</head> | |
9 | +<body class="standalone-code"> | |
10 | + <pre><span class="ruby-comment cmt"># File lib/rir/corpus.rb, line 25</span> | |
11 | + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">path</span>) | |
12 | + <span class="ruby-ivar">@path</span> = <span class="ruby-identifier">path</span>.<span class="ruby-identifier">chomp</span> <span class="ruby-value str">"/"</span> | |
13 | + <span class="ruby-keyword kw">end</span></pre> | |
14 | +</body> | |
15 | +</html> |
doc/classes/Corpus.src/M000002.html
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
2 | +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
3 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
4 | +<head> | |
5 | + <title>files (Corpus)</title> | |
6 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
7 | + <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> | |
8 | +</head> | |
9 | +<body class="standalone-code"> | |
10 | + <pre><span class="ruby-comment cmt"># File lib/rir/corpus.rb, line 35</span> | |
11 | + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">files</span> | |
12 | + <span class="ruby-constant">Dir</span>[<span class="ruby-node">"#{@path}/**/*.*"</span>] | |
13 | + <span class="ruby-keyword kw">end</span></pre> | |
14 | +</body> | |
15 | +</html> |
doc/classes/Indri.html
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
2 | +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
3 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
4 | +<head> | |
5 | + <title>Module: Indri [RDoc Documentation]</title> | |
6 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
7 | + <meta http-equiv="Content-Script-Type" content="text/javascript" /> | |
8 | + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> | |
9 | + <script type="text/javascript"> | |
10 | + // <![CDATA[ | |
11 | + | |
12 | + function popupCode( url ) { | |
13 | + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") | |
14 | + } | |
15 | + | |
16 | + function toggleCode( id ) { | |
17 | + if ( document.getElementById ) | |
18 | + elem = document.getElementById( id ); | |
19 | + else if ( document.all ) | |
20 | + elem = eval( "document.all." + id ); | |
21 | + else | |
22 | + return false; | |
23 | + | |
24 | + elemStyle = elem.style; | |
25 | + | |
26 | + if ( elemStyle.display != "block" ) { | |
27 | + elemStyle.display = "block" | |
28 | + } else { | |
29 | + elemStyle.display = "none" | |
30 | + } | |
31 | + | |
32 | + return true; | |
33 | + } | |
34 | + | |
35 | + // Make codeblocks hidden by default | |
36 | + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" ) | |
37 | + | |
38 | + // ]]> | |
39 | + </script> | |
40 | + | |
41 | +</head> | |
42 | +<body> | |
43 | + | |
44 | + | |
45 | + <div id="classHeader"> | |
46 | + <table class="header-table"> | |
47 | + <tr class="top-aligned-row"> | |
48 | + <td><strong>Module</strong></td> | |
49 | + <td class="class-name-in-header">Indri</td> | |
50 | + </tr> | |
51 | + <tr class="top-aligned-row"> | |
52 | + <td><strong>In:</strong></td> | |
53 | + <td> | |
54 | + | |
55 | + | |
56 | + <a href="../files/lib/rir/query_rb.html"> | |
57 | + | |
58 | + lib/rir/query.rb | |
59 | + | |
60 | + </a> | |
61 | + | |
62 | + | |
63 | + <br /> | |
64 | + | |
65 | + </td> | |
66 | + </tr> | |
67 | + | |
68 | + | |
69 | + </table> | |
70 | + </div> | |
71 | + <!-- banner header --> | |
72 | + | |
73 | + <div id="bodyContent"> | |
74 | + | |
75 | + <div id="contextContent"> | |
76 | + | |
77 | + </div> | |
78 | + | |
79 | + | |
80 | + </div> | |
81 | + | |
82 | + <!-- if includes --> | |
83 | + | |
84 | + <div id="section"> | |
85 | + | |
86 | + <div id="class-list"> | |
87 | + <h3 class="section-bar">Classes and Modules</h3> | |
88 | + | |
89 | + Class <a href="Indri/IndriQuery.html" class="link">Indri::IndriQuery</a><br /> | |
90 | +Class <a href="Indri/Parameters.html" class="link">Indri::Parameters</a><br /> | |
91 | + | |
92 | + </div> | |
93 | + | |
94 | + | |
95 | + | |
96 | + | |
97 | + <!-- if method_list --> | |
98 | + | |
99 | + | |
100 | + | |
101 | + | |
102 | + </div> | |
103 | + | |
104 | +<div id="validator-badges"> | |
105 | + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> | |
106 | +</div> | |
107 | + | |
108 | +</body> | |
109 | +</html> |
doc/classes/Indri/IndriQuery.html
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
2 | +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
3 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
4 | +<head> | |
5 | + <title>Class: Indri::IndriQuery [RDoc Documentation]</title> | |
6 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
7 | + <meta http-equiv="Content-Script-Type" content="text/javascript" /> | |
8 | + <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> | |
9 | + <script type="text/javascript"> | |
10 | + // <![CDATA[ | |
11 | + | |
12 | + function popupCode( url ) { | |
13 | + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") | |
14 | + } | |
15 | + | |
16 | + function toggleCode( id ) { | |
17 | + if ( document.getElementById ) | |
18 | + elem = document.getElementById( id ); | |
19 | + else if ( document.all ) | |
20 | + elem = eval( "document.all." + id ); | |
21 | + else | |
22 | + return false; | |
23 | + | |
24 | + elemStyle = elem.style; | |
25 | + | |
26 | + if ( elemStyle.display != "block" ) { | |
27 | + elemStyle.display = "block" | |
28 | + } else { | |
29 | + elemStyle.display = "none" | |
30 | + } | |
31 | + | |
32 | + return true; | |
33 | + } | |
34 | + | |
35 | + // Make codeblocks hidden by default | |
36 | + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" ) | |
37 | + | |
38 | + // ]]> | |
39 | + </script> | |
40 | + | |
41 | +</head> | |
42 | +<body> | |
43 | + | |
44 | + | |
45 | + <div id="classHeader"> | |
46 | + <table class="header-table"> | |
47 | + <tr class="top-aligned-row"> | |
48 | + <td><strong>Class</strong></td> | |
49 | + <td class="class-name-in-header">Indri::IndriQuery</td> | |
50 | + </tr> | |
51 | + <tr class="top-aligned-row"> | |
52 | + <td><strong>In:</strong></td> | |
53 | + <td> | |
54 | + | |
55 | + | |
56 | + <a href="../../files/lib/rir/query_rb.html"> | |
57 | + | |
58 | + lib/rir/query.rb | |
59 | + | |
60 | + </a> | |
61 | + | |
62 | + | |
63 | + <br /> | |
64 | + | |
65 | + </td> | |
66 | + </tr> | |
67 | + | |
68 | + | |
69 | + <tr class="top-aligned-row"> | |
70 | + <td><strong>Parent:</strong></td> | |
71 | + <td> | |
72 | + | |
73 | + <a href="../Query.html"> | |
74 | + | |
75 | + Query | |
76 | + | |
77 | + </a> | |
78 | + | |
79 | + </td> | |
80 | + </tr> | |
81 | + | |
82 | + </table> | |
83 | + </div> | |
84 | + <!-- banner header --> | |
85 | + | |
86 | + <div id="bodyContent"> | |
87 | + | |
88 | + <div id="contextContent"> | |
89 | + | |
90 | + </div> | |
91 | + | |
92 | + | |
93 | + <div id="method-list"> | |
94 | + <h3 class="section-bar">Methods</h3> | |
95 | + | |
96 | + <div class="name-list"> | |
97 | + | |
98 | + <a href="#M000020">new</a> | |
99 | + | |
100 | + <a href="#M000021">to_s</a> | |
101 | + | |
102 | + </div> | |
103 | + </div> | |
104 | + | |
105 | + </div> | |
106 | + | |
107 | + <!-- if includes --> | |
108 | + | |
109 | + <div id="section"> | |
110 | + | |
111 | + | |
112 | + | |
113 | + <div id="attribute-list"> | |
114 | + <h3 class="section-bar">Attributes</h3> | |
115 | + | |
116 | + <div class="name-list"> | |
117 | + <table> | |
118 | + | |
119 | + <tr class="top-aligned-row context-row"> | |
120 | + <td class="context-item-name">id</td> | |
121 | + | |
122 | + <td class="context-item-value"> [RW] </td> | |
123 | + | |
124 | + <td class="context-item-desc"></td> | |
125 | + </tr> | |
126 | + | |
127 | + <tr class="top-aligned-row context-row"> | |
128 | + <td class="context-item-name">params</td> | |
129 | + | |
130 | + <td class="context-item-value"> [RW] </td> | |
131 | + | |
132 | + <td class="context-item-desc"></td> | |
133 | + </tr> | |
134 | + | |
135 | + <tr class="top-aligned-row context-row"> | |
136 | + <td class="context-item-name">query</td> | |
137 | + | |
138 | + <td class="context-item-value"> [RW] </td> | |
139 | + | |
140 | + <td class="context-item-desc"></td> | |
141 | + </tr> | |
142 | + | |
143 | + <tr class="top-aligned-row context-row"> | |
144 | + <td class="context-item-name">rule</td> | |
145 | + | |
146 | + <td class="context-item-value"> [RW] </td> | |
147 | + | |
148 | + <td class="context-item-desc"></td> | |
149 | + </tr> | |
150 | + | |
151 | + </table> | |
152 | + </div> | |
153 | + </div> | |
154 | + | |
155 | + | |
156 | + <!-- if method_list --> | |
157 | + | |
158 | + <div id="methods"> | |
159 | + | |
160 | + <h3 class="section-bar">Public Class methods</h3> | |
161 | + | |
162 | + | |
163 | + <div id="method-M000020" class="method-detail"> | |
164 | + <a name="M000020"></a> | |
165 | + | |
166 | + <div class="method-heading"> | |
167 | + | |
168 | + <a href="IndriQuery.src/M000020.html" target="Code" class="method-signature" | |
169 | + onclick="popupCode('IndriQuery.src/M000020.html');return false;"> | |
170 | + | |
171 | + <span class="method-name">new</span><span class="method-args">(id,query,params)</span> | |
172 | + | |
173 | + </a> | |
174 | + | |
175 | + </div> | |
176 | + | |
177 | + <div class="method-description"> | |
178 | + | |
179 | + </div> | |
180 | + </div> | |
181 | + | |
182 | + | |
183 | + <h3 class="section-bar">Public Instance methods</h3> | |
184 | + | |
185 | + | |
186 | + <div id="method-M000021" class="method-detail"> | |
187 | + <a name="M000021"></a> | |
188 | + | |
189 | + <div class="method-heading"> | |
190 | + | |
191 | + <a href="IndriQuery.src/M000021.html" target="Code" class="method-signature" | |
192 | + onclick="popupCode('IndriQuery.src/M000021.html');return false;"> | |
193 | + | |
194 | + <span class="method-name">to_s</span><span class="method-args">()</span> | |
195 | + | |
196 | + </a> | |
197 | + | |
198 | + </div> | |
199 | + | |
200 | + <div class="method-description"> | |
201 | + | |
202 | + </div> | |
203 | + </div> | |
204 | + | |
205 | + | |
206 | + | |
207 | + </div> | |
208 | + | |
209 | + | |
210 | + | |
211 | + | |
212 | + </div> | |
213 | + | |
214 | +<div id="validator-badges"> | |
215 | + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> | |
216 | +</div> | |
217 | + | |
218 | +</body> | |
219 | +</html> |
doc/classes/Indri/IndriQuery.src/M000020.html
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
2 | +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
3 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
4 | +<head> | |
5 | + <title>new (Indri::IndriQuery)</title> | |
6 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
7 | + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> | |
8 | +</head> | |
9 | +<body class="standalone-code"> | |
10 | + <pre><span class="ruby-comment cmt"># File lib/rir/query.rb, line 62</span> | |
11 | + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">id</span>,<span class="ruby-identifier">query</span>,<span class="ruby-identifier">params</span>) | |
12 | + <span class="ruby-ivar">@params</span> = <span class="ruby-identifier">params</span> | |
13 | + <span class="ruby-comment cmt"># Here we set the default retrieval model as Language Modeling</span> | |
14 | + <span class="ruby-comment cmt"># with a Dirichlet smoothing at 2500.</span> | |
15 | + <span class="ruby-comment cmt"># TODO: maybe a Rule class...</span> | |
16 | + <span class="ruby-ivar">@params</span>.<span class="ruby-identifier">rule</span> = <span class="ruby-value str">'method:dirichlet,mu:2500'</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@params</span>.<span class="ruby-identifier">rule</span>.<span class="ruby-identifier">nil?</span> | |
17 | + | |
18 | + <span class="ruby-ivar">@id</span> = <span class="ruby-identifier">id</span> | |
19 | + <span class="ruby-ivar">@query</span> = <span class="ruby-identifier">query</span> | |
20 | + <span class="ruby-keyword kw">end</span></pre> | |
21 | +</body> | |
22 | +</html> |
doc/classes/Indri/IndriQuery.src/M000021.html
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
2 | +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
3 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
4 | +<head> | |
5 | + <title>to_s (Indri::IndriQuery)</title> | |
6 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
7 | + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> | |
8 | +</head> | |
9 | +<body class="standalone-code"> | |
10 | + <pre><span class="ruby-comment cmt"># File lib/rir/query.rb, line 73</span> | |
11 | + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span> | |
12 | + <span class="ruby-identifier">h</span> = <span class="ruby-ivar">@params</span>.<span class="ruby-identifier">to_s</span> | |
13 | + <span class="ruby-identifier">h</span> <span class="ruby-operator">+=</span> <span class="ruby-value str">"<query>\n"</span> | |
14 | + <span class="ruby-identifier">h</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"<number>#{@id}</number>\n"</span> | |
15 | + <span class="ruby-identifier">h</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"<text>#{@query}</text>\n"</span> | |
16 | + <span class="ruby-identifier">h</span> <span class="ruby-operator">+=</span> <span class="ruby-value str">"</query>\n"</span> | |
17 | + <span class="ruby-identifier">h</span> <span class="ruby-operator">+=</span> <span class="ruby-value str">"</parameters>"</span> | |
18 | + | |
19 | + <span class="ruby-identifier">h</span> | |
20 | + <span class="ruby-keyword kw">end</span></pre> | |
21 | +</body> | |
22 | +</html> |
doc/classes/Indri/Parameters.html
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
2 | +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
3 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
4 | +<head> | |
5 | + <title>Class: Indri::Parameters [RDoc Documentation]</title> | |
6 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
7 | + <meta http-equiv="Content-Script-Type" content="text/javascript" /> | |
8 | + <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> | |
9 | + <script type="text/javascript"> | |
10 | + // <![CDATA[ | |
11 | + | |
12 | + function popupCode( url ) { | |
13 | + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") | |
14 | + } | |
15 | + | |
16 | + function toggleCode( id ) { | |
17 | + if ( document.getElementById ) | |
18 | + elem = document.getElementById( id ); | |
19 | + else if ( document.all ) | |
20 | + elem = eval( "document.all." + id ); | |
21 | + else | |
22 | + return false; | |
23 | + | |
24 | + elemStyle = elem.style; | |
25 | + | |
26 | + if ( elemStyle.display != "block" ) { | |
27 | + elemStyle.display = "block" | |
28 | + } else { | |
29 | + elemStyle.display = "none" | |
30 | + } | |
31 | + | |
32 | + return true; | |
33 | + } | |
34 | + | |
35 | + // Make codeblocks hidden by default | |
36 | + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" ) | |
37 | + | |
38 | + // ]]> | |
39 | + </script> | |
40 | + | |
41 | +</head> | |
42 | +<body> | |
43 | + | |
44 | + | |
45 | + <div id="classHeader"> | |
46 | + <table class="header-table"> | |
47 | + <tr class="top-aligned-row"> | |
48 | + <td><strong>Class</strong></td> | |
49 | + <td class="class-name-in-header">Indri::Parameters</td> | |
50 | + </tr> | |
51 | + <tr class="top-aligned-row"> | |
52 | + <td><strong>In:</strong></td> | |
53 | + <td> | |
54 | + | |
55 | + | |
56 | + <a href="../../files/lib/rir/query_rb.html"> | |
57 | + | |
58 | + lib/rir/query.rb | |
59 | + | |
60 | + </a> | |
61 | + | |
62 | + | |
63 | + <br /> | |
64 | + | |
65 | + </td> | |
66 | + </tr> | |
67 | + | |
68 | + | |
69 | + <tr class="top-aligned-row"> | |
70 | + <td><strong>Parent:</strong></td> | |
71 | + <td> | |
72 | + | |
73 | + Object | |
74 | + | |
75 | + </td> | |
76 | + </tr> | |
77 | + | |
78 | + </table> | |
79 | + </div> | |
80 | + <!-- banner header --> | |
81 | + | |
82 | + <div id="bodyContent"> | |
83 | + | |
84 | + <div id="contextContent"> | |
85 | + | |
86 | + </div> | |
87 | + | |
88 | + | |
89 | + <div id="method-list"> | |
90 | + <h3 class="section-bar">Methods</h3> | |
91 | + | |
92 | + <div class="name-list"> | |
93 | + | |
94 | + <a href="#M000018">new</a> | |
95 | + | |
96 | + <a href="#M000019">to_s</a> | |
97 | + | |
98 | + </div> | |
99 | + </div> | |
100 | + | |
101 | + </div> | |
102 | + | |
103 | + <!-- if includes --> | |
104 | + | |
105 | + <div id="section"> | |
106 | + | |
107 | + | |
108 | + | |
109 | + <div id="attribute-list"> | |
110 | + <h3 class="section-bar">Attributes</h3> | |
111 | + | |
112 | + <div class="name-list"> | |
113 | + <table> | |
114 | + | |
115 | + <tr class="top-aligned-row context-row"> | |
116 | + <td class="context-item-name">baseline</td> | |
117 | + | |
118 | + <td class="context-item-value"> [RW] </td> | |
119 | + | |
120 | + <td class="context-item-desc"></td> | |
121 | + </tr> | |
122 | + | |
123 | + <tr class="top-aligned-row context-row"> | |
124 | + <td class="context-item-name">count</td> | |
125 | + | |
126 | + <td class="context-item-value"> [RW] </td> | |
127 | + | |
128 | + <td class="context-item-desc"></td> | |
129 | + </tr> | |
130 | + | |
131 | + <tr class="top-aligned-row context-row"> | |
132 | + <td class="context-item-name">index_path</td> | |
133 | + | |
134 | + <td class="context-item-value"> [RW] </td> | |
135 | + | |
136 | + <td class="context-item-desc"></td> | |
137 | + </tr> | |
138 | + | |
139 | + <tr class="top-aligned-row context-row"> | |
140 | + <td class="context-item-name">memory</td> | |
141 | + | |
142 | + <td class="context-item-value"> [RW] </td> | |
143 | + | |
144 | + <td class="context-item-desc"></td> | |
145 | + </tr> | |
146 | + | |
147 | + <tr class="top-aligned-row context-row"> | |
148 | + <td class="context-item-name">offset</td> | |
149 | + | |
150 | + <td class="context-item-value"> [RW] </td> | |
151 | + | |
152 | + <td class="context-item-desc"></td> | |
153 | + </tr> | |
154 | + | |
155 | + <tr class="top-aligned-row context-row"> | |
156 | + <td class="context-item-name">print_docs</td> | |
157 | + | |
158 | + <td class="context-item-value"> [RW] </td> | |
159 | + | |
160 | + <td class="context-item-desc"></td> | |
161 | + </tr> | |
162 | + | |
163 | + <tr class="top-aligned-row context-row"> | |
164 | + <td class="context-item-name">print_query</td> | |
165 | + | |
166 | + <td class="context-item-value"> [RW] </td> | |
167 | + | |
168 | + <td class="context-item-desc"></td> | |
169 | + </tr> | |
170 | + | |
171 | + <tr class="top-aligned-row context-row"> | |
172 | + <td class="context-item-name">rule</td> | |
173 | + | |
174 | + <td class="context-item-value"> [RW] </td> | |
175 | + | |
176 | + <td class="context-item-desc"></td> | |
177 | + </tr> | |
178 | + | |
179 | + <tr class="top-aligned-row context-row"> | |
180 | + <td class="context-item-name">run_id</td> | |
181 | + | |
182 | + <td class="context-item-value"> [RW] </td> | |
183 | + | |
184 | + <td class="context-item-desc"></td> | |
185 | + </tr> | |
186 | + | |
187 | + </table> | |
188 | + </div> | |
189 | + </div> | |
190 | + | |
191 | + | |
192 | + <!-- if method_list --> | |
193 | + | |
194 | + <div id="methods"> | |
195 | + | |
196 | + <h3 class="section-bar">Public Class methods</h3> | |
197 | + | |
198 | + | |
199 | + <div id="method-M000018" class="method-detail"> | |
200 | + <a name="M000018"></a> | |
201 | + | |
202 | + <div class="method-heading"> | |
203 | + | |
204 | + <a href="Parameters.src/M000018.html" target="Code" class="method-signature" | |
205 | + onclick="popupCode('Parameters.src/M000018.html');return false;"> | |
206 | + | |
207 | + <span class="method-name">new</span><span class="method-args">(corpus,mem="1g",count="1000",offset="1",run_id="default",print_query=false,print_docs=false)</span> | |
208 | + | |
209 | + </a> | |
210 | + | |
211 | + </div> | |
212 | + | |
213 | + <div class="method-description"> | |
214 | + | |
215 | + </div> | |
216 | + </div> | |
217 | + | |
218 | + | |
219 | + <h3 class="section-bar">Public Instance methods</h3> | |
220 | + | |
221 | + | |
222 | + <div id="method-M000019" class="method-detail"> | |
223 | + <a name="M000019"></a> | |
224 | + | |
225 | + <div class="method-heading"> | |
226 | + | |
227 | + <a href="Parameters.src/M000019.html" target="Code" class="method-signature" | |
228 | + onclick="popupCode('Parameters.src/M000019.html');return false;"> | |
229 | + | |
230 | + <span class="method-name">to_s</span><span class="method-args">()</span> | |
231 | + | |
232 | + </a> | |
233 | + | |
234 | + </div> | |
235 | + | |
236 | + <div class="method-description"> | |
237 | + | |
238 | + </div> | |
239 | + </div> | |
240 | + | |
241 | + | |
242 | + | |
243 | + </div> | |
244 | + | |
245 | + | |
246 | + | |
247 | + | |
248 | + </div> | |
249 | + | |
250 | +<div id="validator-badges"> | |
251 | + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> | |
252 | +</div> | |
253 | + | |
254 | +</body> | |
255 | +</html> |
doc/classes/Indri/Parameters.src/M000018.html
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
2 | +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
3 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
4 | +<head> | |
5 | + <title>new (Indri::Parameters)</title> | |
6 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
7 | + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> | |
8 | +</head> | |
9 | +<body class="standalone-code"> | |
10 | + <pre><span class="ruby-comment cmt"># File lib/rir/query.rb, line 30</span> | |
11 | + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">corpus</span>,<span class="ruby-identifier">mem</span>=<span class="ruby-value str">"1g"</span>,<span class="ruby-identifier">count</span>=<span class="ruby-value str">"1000"</span>,<span class="ruby-identifier">offset</span>=<span class="ruby-value str">"1"</span>,<span class="ruby-identifier">run_id</span>=<span class="ruby-value str">"default"</span>,<span class="ruby-identifier">print_query</span>=<span class="ruby-keyword kw">false</span>,<span class="ruby-identifier">print_docs</span>=<span class="ruby-keyword kw">false</span>) | |
12 | + <span class="ruby-ivar">@index_path</span> = <span class="ruby-identifier">corpus</span> | |
13 | + <span class="ruby-ivar">@memory</span> = <span class="ruby-identifier">mem</span> | |
14 | + <span class="ruby-ivar">@count</span> = <span class="ruby-identifier">count</span> | |
15 | + <span class="ruby-ivar">@offset</span> = <span class="ruby-identifier">offset</span> | |
16 | + <span class="ruby-ivar">@run_id</span> = <span class="ruby-identifier">run_id</span> | |
17 | + <span class="ruby-ivar">@print_query</span> = <span class="ruby-identifier">print_query</span> <span class="ruby-value">? </span><span class="ruby-value str">"true"</span> <span class="ruby-operator">:</span> <span class="ruby-value str">"false"</span> | |
18 | + <span class="ruby-ivar">@print_docs</span> = <span class="ruby-identifier">print_docs</span> <span class="ruby-value">? </span><span class="ruby-value str">"true"</span> <span class="ruby-operator">:</span> <span class="ruby-value str">"false"</span> | |
19 | + <span class="ruby-keyword kw">end</span></pre> | |
20 | +</body> | |
21 | +</html> |
doc/classes/Indri/Parameters.src/M000019.html
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
2 | +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
3 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
4 | +<head> | |
5 | + <title>to_s (Indri::Parameters)</title> | |
6 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
7 | + <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> | |
8 | +</head> | |
9 | +<body class="standalone-code"> | |
10 | + <pre><span class="ruby-comment cmt"># File lib/rir/query.rb, line 40</span> | |
11 | + <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span> | |
12 | + <span class="ruby-identifier">h</span> = <span class="ruby-value str">"<parameters>\n"</span> | |
13 | + <span class="ruby-identifier">h</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"<memory>#{@memory}</memory>\n"</span> | |
14 | + <span class="ruby-identifier">h</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"<index>#{@index_path}</index>\n"</span> | |
15 | + <span class="ruby-identifier">h</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"<count>#{@count}</count>\n"</span> | |
16 | + <span class="ruby-keyword kw">unless</span> <span class="ruby-ivar">@baseline</span>.<span class="ruby-identifier">nil?</span> | |
17 | + <span class="ruby-identifier">h</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"<baseline>#{@baseline}</baseline>\n"</span> | |
18 | + <span class="ruby-keyword kw">else</span> | |
19 | + <span class="ruby-identifier">h</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"<rule>#{@rule}</rule>\n"</span> | |
20 | + <span class="ruby-keyword kw">end</span> | |
21 | + <span class="ruby-identifier">h</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"<queryOffset>#{@offset}</queryOffset>\n"</span> | |
22 | + <span class="ruby-identifier">h</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"<runID>#{@run_id}</runID>\n"</span> | |
23 | + <span class="ruby-identifier">h</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"<printQuery>#{@print_query}</printQuery>\n"</span> | |
24 | + <span class="ruby-identifier">h</span> <span class="ruby-operator">+=</span> <span class="ruby-node">"<printDocuments>#{@print_docs}</printDocuments>\n"</span> | |
25 | + | |
26 | + <span class="ruby-identifier">h</span> | |
27 | + <span class="ruby-keyword kw">end</span></pre> | |
28 | +</body> | |
29 | +</html> |
doc/classes/Query.html
1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
2 | +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
3 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
4 | +<head> | |
5 | + <title>Class: Query [RDoc Documentation]</title> | |
6 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
7 | + <meta http-equiv="Content-Script-Type" content="text/javascript" /> | |
8 | + <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" /> | |
9 | + <script type="text/javascript"> | |
10 | + // <![CDATA[ | |
11 | + | |
12 | + function popupCode( url ) { | |
13 | + window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") | |
14 | + } | |
15 | + | |
16 | + function toggleCode( id ) { | |
17 | + if ( document.getElementById ) | |
18 | + elem = document.getElementById( id ); | |
19 | + else if ( document.all ) | |
20 | + elem = eval( "document.all." + id ); | |
21 | + else | |
22 | + return false; | |
23 | + | |
24 | + elemStyle = elem.style; | |
25 | + | |
26 | + if ( elemStyle.display != "block" ) { | |
27 | + elemStyle.display = "block" | |
28 | + } else { | |
29 | + elemStyle.display = "none" | |
30 | + } | |
31 | + | |
32 | + return true; | |
33 | + } | |
34 | + | |
35 | + // Make codeblocks hidden by default | |
36 | + document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" ) | |
37 | + | |
38 | + // ]]> | |
39 | + </script> | |
40 | + | |
41 | +</head> | |
42 | +<body> | |
43 | + | |
44 | + | |
45 | + <div id="classHeader"> | |
46 | + <table class="header-table"> | |
47 | + <tr class="top-aligned-row"> | |
48 | + <td><strong>Class</strong></td> | |
49 | + <td class="class-name-in-header">Query</td> | |
50 | + </tr> | |
51 | + <tr class="top-aligned-row"> | |
52 | + <td><strong>In:</strong></td> | |
53 | + <td> | |
54 | + | |
55 | + | |
56 | + <a href="../files/lib/rir/query_rb.html"> | |
57 | + | |
58 | + lib/rir/query.rb | |
59 | + | |
60 | + </a> | |
61 | + | |
62 | + | |
63 | + <br /> | |
64 | + | |
65 | + </td> | |
66 | + </tr> | |
67 | + | |
68 | + | |
69 | + <tr class="top-aligned-row"> | |
70 | + <td><strong>Parent:</strong></td> | |
71 | + <td> | |
72 | + | |
73 | + Object | |
74 | + | |
75 | + </td> | |
76 | + </tr> | |
77 | + | |
78 | + </table> | |
79 | + </div> | |
80 | + <!-- banner header --> | |
81 | + | |
82 | + <div id="bodyContent"> | |
83 | + | |
84 | + <div id="contextContent"> | |
85 | + | |
86 | + </div> | |
87 | + | |
88 | + | |
89 | + </div> | |
90 | + | |
91 | + <!-- if includes --> | |
92 | + | |
93 | + <div id="section"> | |
94 | + | |
95 | + | |
96 | + | |
97 | + | |
98 | + <!-- if method_list --> | |
99 | + | |
100 | + | |
101 | + | |
102 | + | |
103 | + </div> | |
104 | + | |
105 | +<div id="validator-badges"> | |
106 | + <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> | |
107 | +</div> | |
108 | + | |
109 | +</body> | |
110 | +</html> |
doc/classes/RIR.html
... | ... | @@ -53,36 +53,6 @@ |
53 | 53 | <td> |
54 | 54 | |
55 | 55 | |
56 | - <a href="../files/lib/rir/ttagger_rb.html"> | |
57 | - | |
58 | - lib/rir/ttagger.rb | |
59 | - | |
60 | - </a> | |
61 | - | |
62 | - | |
63 | - <br /> | |
64 | - | |
65 | - | |
66 | - <a href="../files/lib/rir/corpus_rb.html"> | |
67 | - | |
68 | - lib/rir/corpus.rb | |
69 | - | |
70 | - </a> | |
71 | - | |
72 | - | |
73 | - <br /> | |
74 | - | |
75 | - | |
76 | - <a href="../files/lib/rir/query_rb.html"> | |
77 | - | |
78 | - lib/rir/query.rb | |
79 | - | |
80 | - </a> | |
81 | - | |
82 | - | |
83 | - <br /> | |
84 | - | |
85 |