Class PorterStemmer
java.lang.Object
Stemmer
PorterStemmer
- All Implemented Interfaces:
- java.io.Serializable
public class PorterStemmer
- extends Stemmer
PorterStemmer.java
Programmer: John Keyes ([email protected])
Last Modified: January 3, 1998
This class implements the PORTER stemming algorithm, which
is fully described in "An algorithm for suffix stripping",
M.F. Porter (1980), _Program_, Vol. 14, No. 3, pp. 130-137
- See Also:
- Serialized Form
Method Summary |
boolean |
isVowel(char c)
|
java.lang.String |
stem(java.lang.String str)
Iterated stemming of the given word. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PorterStemmer
public PorterStemmer()
stem
public java.lang.String stem(java.lang.String str)
- Description copied from class:
Stemmer
- Iterated stemming of the given word.
- Specified by:
stem
in class Stemmer
isVowel
public boolean isVowel(char c)