Class LovinsStemmer

java.lang.Object
  |
  +--Stemmer
        |
        +--LovinsStemmer
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IteratedLovinsStemmer

public class LovinsStemmer
extends Stemmer
implements java.io.Serializable

Implements the Lovins stemmer.

See Also:
Serialized Form

Constructor Summary
LovinsStemmer()
           
 
Method Summary
static void main(java.lang.String[] ops)
          Stems text coming into stdin and writes it to stdout.
 java.lang.String stem(java.lang.String word)
          Returns the stemmed version of the given word.
 
Methods inherited from class Stemmer
stemString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LovinsStemmer

public LovinsStemmer()
Method Detail

stem

public java.lang.String stem(java.lang.String word)
Returns the stemmed version of the given word.

Specified by:
stem in class Stemmer
Parameters:
word - a string consisting of a single word

main

public static void main(java.lang.String[] ops)
Stems text coming into stdin and writes it to stdout.