|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.terms.StemmerTermPipeline org.terrier.terms.TRv2PorterStemmer org.terrier.terms.TRv2WeakPorterStemmer
public class TRv2WeakPorterStemmer
An implementation of the Porter stemming algorithm that uses only the first step of the algorithm.
Field Summary |
---|
Fields inherited from class org.terrier.terms.TRv2PorterStemmer |
---|
b, j, k, k0 |
Fields inherited from class org.terrier.terms.StemmerTermPipeline |
---|
next |
Constructor Summary | |
---|---|
TRv2WeakPorterStemmer(TermPipeline next)
Constructs an instance of the TRv2WeakPorterStemmer. |
Method Summary | |
---|---|
java.lang.String |
stem(java.lang.String s)
Returns the stem of a given term, after applying the first step of Porter's stemming algorithm. |
Methods inherited from class org.terrier.terms.TRv2PorterStemmer |
---|
cons, consonantinstem, cvc, defineBuffer, doublec, ends, m, main, setto, step1ab, step1c, step2, step3, step4, step5, vowelinstem |
Methods inherited from class org.terrier.terms.StemmerTermPipeline |
---|
processTerm, reset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TRv2WeakPorterStemmer(TermPipeline next)
next
- Method Detail |
---|
public java.lang.String stem(java.lang.String s)
stem
in interface Stemmer
stem
in class TRv2PorterStemmer
s
- String the term to be stemmed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |