1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
|
---|
2 | <!--NewPage-->
|
---|
3 | <HTML>
|
---|
4 | <HEAD>
|
---|
5 | <!-- Generated by javadoc on Fri Mar 19 17:50:50 NZDT 2004 -->
|
---|
6 | <TITLE>
|
---|
7 | LovinsStemmer
|
---|
8 | </TITLE>
|
---|
9 | <META NAME="keywords" CONTENT="LovinsStemmer,LovinsStemmer class">
|
---|
10 | <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
---|
11 | </HEAD>
|
---|
12 | <SCRIPT>
|
---|
13 | function asd()
|
---|
14 | {
|
---|
15 | parent.document.title="LovinsStemmer";
|
---|
16 | }
|
---|
17 | </SCRIPT>
|
---|
18 | <BODY BGCOLOR="white" onload="asd();">
|
---|
19 |
|
---|
20 | <!-- ========== START OF NAVBAR ========== -->
|
---|
21 | <A NAME="navbar_top"><!-- --></A>
|
---|
22 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
---|
23 | <TR>
|
---|
24 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
25 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
26 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
---|
27 | <TR ALIGN="center" VALIGN="top">
|
---|
28 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
---|
29 | </TD>
|
---|
30 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
31 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
32 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
33 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
34 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
35 | </TR>
|
---|
36 | </TABLE>
|
---|
37 | </TD>
|
---|
38 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
39 | </EM>
|
---|
40 | </TD>
|
---|
41 | </TR>
|
---|
42 |
|
---|
43 | <TR>
|
---|
44 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
45 | <A HREF="KEAPhraseFilter.html"><B>PREV CLASS</B></A>
|
---|
46 | <A HREF="NumbersFilter.html"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
47 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
48 | <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>
|
---|
49 | <A HREF="LovinsStemmer.html" TARGET="_top"><B>NO FRAMES</B></A>
|
---|
50 |
|
---|
51 | <SCRIPT>
|
---|
52 | <!--
|
---|
53 | if(window==top) {
|
---|
54 | document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
|
---|
55 | }
|
---|
56 | //-->
|
---|
57 | </SCRIPT>
|
---|
58 | <NOSCRIPT>
|
---|
59 | <A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
|
---|
60 | </NOSCRIPT>
|
---|
61 | </FONT></TD>
|
---|
62 | </TR>
|
---|
63 | <TR>
|
---|
64 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
65 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
66 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
67 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
68 | </TR>
|
---|
69 | </TABLE>
|
---|
70 | <!-- =========== END OF NAVBAR =========== -->
|
---|
71 |
|
---|
72 | <HR>
|
---|
73 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
74 | <H2>
|
---|
75 | Class LovinsStemmer</H2>
|
---|
76 | <PRE>
|
---|
77 | java.lang.Object
|
---|
78 | |
|
---|
79 | +--<A HREF="Stemmer.html">Stemmer</A>
|
---|
80 | |
|
---|
81 | +--<B>LovinsStemmer</B>
|
---|
82 | </PRE>
|
---|
83 | <DL>
|
---|
84 | <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
|
---|
85 | </DL>
|
---|
86 | <DL>
|
---|
87 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="IteratedLovinsStemmer.html">IteratedLovinsStemmer</A></DD>
|
---|
88 | </DL>
|
---|
89 | <HR>
|
---|
90 | <DL>
|
---|
91 | <DT>public class <B>LovinsStemmer</B><DT>extends <A HREF="Stemmer.html">Stemmer</A><DT>implements java.io.Serializable</DL>
|
---|
92 |
|
---|
93 | <P>
|
---|
94 | Implements the Lovins stemmer.
|
---|
95 | <P>
|
---|
96 |
|
---|
97 | <P>
|
---|
98 | <DL>
|
---|
99 | <DT><B>See Also:</B><DD><A HREF="serialized-form.html" TARGET="LovinsStemmer">Serialized Form</A></DL>
|
---|
100 | <HR>
|
---|
101 |
|
---|
102 | <P>
|
---|
103 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
104 |
|
---|
105 |
|
---|
106 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
107 |
|
---|
108 |
|
---|
109 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
110 |
|
---|
111 | <A NAME="constructor_summary"><!-- --></A>
|
---|
112 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
---|
113 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
114 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
115 | <B>Constructor Summary</B></FONT></TD>
|
---|
116 | </TR>
|
---|
117 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
118 | <TD><CODE><B><A HREF="LovinsStemmer.html#LovinsStemmer()">LovinsStemmer</A></B>()</CODE>
|
---|
119 |
|
---|
120 | <BR>
|
---|
121 | </TD>
|
---|
122 | </TR>
|
---|
123 | </TABLE>
|
---|
124 |
|
---|
125 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
126 |
|
---|
127 | <A NAME="method_summary"><!-- --></A>
|
---|
128 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
---|
129 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
130 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
131 | <B>Method Summary</B></FONT></TD>
|
---|
132 | </TR>
|
---|
133 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
134 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
135 | <CODE>static void</CODE></FONT></TD>
|
---|
136 | <TD><CODE><B><A HREF="LovinsStemmer.html#main(java.lang.String[])">main</A></B>(java.lang.String[] ops)</CODE>
|
---|
137 |
|
---|
138 | <BR>
|
---|
139 | Stems text coming into stdin and writes it to stdout.</TD>
|
---|
140 | </TR>
|
---|
141 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
142 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
143 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
144 | <TD><CODE><B><A HREF="LovinsStemmer.html#stem(java.lang.String)">stem</A></B>(java.lang.String word)</CODE>
|
---|
145 |
|
---|
146 | <BR>
|
---|
147 | Returns the stemmed version of the given word.</TD>
|
---|
148 | </TR>
|
---|
149 | </TABLE>
|
---|
150 | <A NAME="methods_inherited_from_class_Stemmer"><!-- --></A>
|
---|
151 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
---|
152 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
153 | <TD><B>Methods inherited from class <A HREF="Stemmer.html">Stemmer</A></B></TD>
|
---|
154 | </TR>
|
---|
155 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
156 | <TD><CODE><A HREF="Stemmer.html#stemString(java.lang.String)">stemString</A></CODE></TD>
|
---|
157 | </TR>
|
---|
158 | </TABLE>
|
---|
159 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
160 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
---|
161 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
162 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
163 | </TR>
|
---|
164 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
165 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
166 | </TR>
|
---|
167 | </TABLE>
|
---|
168 |
|
---|
169 | <P>
|
---|
170 |
|
---|
171 | <!-- ============ FIELD DETAIL =========== -->
|
---|
172 |
|
---|
173 |
|
---|
174 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
175 |
|
---|
176 | <A NAME="constructor_detail"><!-- --></A>
|
---|
177 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
---|
178 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
179 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
180 | <B>Constructor Detail</B></FONT></TD>
|
---|
181 | </TR>
|
---|
182 | </TABLE>
|
---|
183 |
|
---|
184 | <A NAME="LovinsStemmer()"><!-- --></A><H3>
|
---|
185 | LovinsStemmer</H3>
|
---|
186 | <PRE>
|
---|
187 | public <B>LovinsStemmer</B>()</PRE>
|
---|
188 | <DL>
|
---|
189 | </DL>
|
---|
190 |
|
---|
191 | <!-- ============ METHOD DETAIL ========== -->
|
---|
192 |
|
---|
193 | <A NAME="method_detail"><!-- --></A>
|
---|
194 | <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
---|
195 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
196 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
197 | <B>Method Detail</B></FONT></TD>
|
---|
198 | </TR>
|
---|
199 | </TABLE>
|
---|
200 |
|
---|
201 | <A NAME="stem(java.lang.String)"><!-- --></A><H3>
|
---|
202 | stem</H3>
|
---|
203 | <PRE>
|
---|
204 | public java.lang.String <B>stem</B>(java.lang.String word)</PRE>
|
---|
205 | <DL>
|
---|
206 | <DD>Returns the stemmed version of the given word.
|
---|
207 | <P>
|
---|
208 | <DD><DL>
|
---|
209 | <DT><B>Specified by:</B><DD><CODE><A HREF="Stemmer.html#stem(java.lang.String)">stem</A></CODE> in class <CODE><A HREF="Stemmer.html">Stemmer</A></CODE></DL>
|
---|
210 | </DD>
|
---|
211 | <DD><DL>
|
---|
212 | <DT><B>Parameters:</B><DD><CODE>word</CODE> - a string consisting of a single word</DL>
|
---|
213 | </DD>
|
---|
214 | </DL>
|
---|
215 | <HR>
|
---|
216 |
|
---|
217 | <A NAME="main(java.lang.String[])"><!-- --></A><H3>
|
---|
218 | main</H3>
|
---|
219 | <PRE>
|
---|
220 | public static void <B>main</B>(java.lang.String[] ops)</PRE>
|
---|
221 | <DL>
|
---|
222 | <DD>Stems text coming into stdin and writes it to stdout.
|
---|
223 | <P>
|
---|
224 | <DD><DL>
|
---|
225 | </DL>
|
---|
226 | </DD>
|
---|
227 | <DD><DL>
|
---|
228 | </DL>
|
---|
229 | </DD>
|
---|
230 | </DL>
|
---|
231 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
232 | <HR>
|
---|
233 |
|
---|
234 | <!-- ========== START OF NAVBAR ========== -->
|
---|
235 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
236 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
---|
237 | <TR>
|
---|
238 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
239 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
240 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
---|
241 | <TR ALIGN="center" VALIGN="top">
|
---|
242 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
|
---|
243 | </TD>
|
---|
244 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
245 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
246 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
247 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
248 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
249 | </TR>
|
---|
250 | </TABLE>
|
---|
251 | </TD>
|
---|
252 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
253 | </EM>
|
---|
254 | </TD>
|
---|
255 | </TR>
|
---|
256 |
|
---|
257 | <TR>
|
---|
258 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
259 | <A HREF="KEAPhraseFilter.html"><B>PREV CLASS</B></A>
|
---|
260 | <A HREF="NumbersFilter.html"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
261 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
262 | <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>
|
---|
263 | <A HREF="LovinsStemmer.html" TARGET="_top"><B>NO FRAMES</B></A>
|
---|
264 |
|
---|
265 | <SCRIPT>
|
---|
266 | <!--
|
---|
267 | if(window==top) {
|
---|
268 | document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
|
---|
269 | }
|
---|
270 | //-->
|
---|
271 | </SCRIPT>
|
---|
272 | <NOSCRIPT>
|
---|
273 | <A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
|
---|
274 | </NOSCRIPT>
|
---|
275 | </FONT></TD>
|
---|
276 | </TR>
|
---|
277 | <TR>
|
---|
278 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
279 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
280 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
281 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
282 | </TR>
|
---|
283 | </TABLE>
|
---|
284 | <!-- =========== END OF NAVBAR =========== -->
|
---|
285 |
|
---|
286 | <HR>
|
---|
287 |
|
---|
288 | </BODY>
|
---|
289 | </HTML>
|
---|