org.terrier.terms
Class WeakPorterStemmer

java.lang.Object
  extended by org.terrier.terms.StemmerTermPipeline
      extended by org.terrier.terms.PorterStemmer
          extended by org.terrier.terms.WeakPorterStemmer
All Implemented Interfaces:
Stemmer, TermPipeline

public class WeakPorterStemmer
extends PorterStemmer

Weak Porter Stemmer, using Porter's Java implementation as the base.

Since:
3.0
Author:
Craig Macdonald

Field Summary
 
Fields inherited from class org.terrier.terms.PorterStemmer
b, i, i_end, INC, j, k
 
Fields inherited from class org.terrier.terms.StemmerTermPipeline
next
 
Constructor Summary
WeakPorterStemmer()
          constructor
WeakPorterStemmer(TermPipeline next)
          constructor
 
Method Summary
 void stem()
          Stem the word placed into the Stemmer buffer through calls to add().
 
Methods inherited from class org.terrier.terms.PorterStemmer
add, add, cons, cvc, doublec, ends, getResultBuffer, getResultLength, m, main, r, setto, stem, step1, step2, step3, step4, step5, step6, toString, 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, wait, wait, wait
 

Constructor Detail

WeakPorterStemmer

public WeakPorterStemmer()
constructor


WeakPorterStemmer

public WeakPorterStemmer(TermPipeline next)
constructor

Parameters:
next -
Method Detail

stem

public void stem()
Description copied from class: PorterStemmer
Stem the word placed into the Stemmer buffer through calls to add(). Returns true if the stemming process resulted in a word different from the input. You can retrieve the result with getResultLength()/getResultBuffer() or toString().

Overrides:
stem in class PorterStemmer


Terrier 3.5. Copyright © 2004-2011 University of Glasgow