de.fh_mannheim.mm.dms.framework.linguistic
Class LovinsStemmer

java.lang.Object
  extended byde.fh_mannheim.mm.dms.framework.linguistic.LovinsStemmer
All Implemented Interfaces:
IStemmer
Direct Known Subclasses:
IteratedLovinsStemmer

public class LovinsStemmer
extends java.lang.Object
implements IStemmer


Constructor Summary
LovinsStemmer()
           
 
Method Summary
 java.lang.String stem(java.lang.String strWord)
          Returns the stemmed version of the given word.
 java.lang.String stemString(java.lang.String str)
          Stems everything in the given string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LovinsStemmer

public LovinsStemmer()
Method Detail

stem

public java.lang.String stem(java.lang.String strWord)
Returns the stemmed version of the given word. Word is converted to lower case before stemming.

Specified by:
stem in interface IStemmer
Parameters:
strWord - a string consisting of a single word
Returns:
stemmed word

stemString

public java.lang.String stemString(java.lang.String str)
Stems everything in the given string. String is converted to lower case before stemming.