Class IteratedLovinsStemmer

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

public class IteratedLovinsStemmer
extends LovinsStemmer

Implements the iterated version of the Lovins stemmer.

See Also:
Serialized Form

Constructor Summary
IteratedLovinsStemmer()
           
 
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 str)
          Iterated stemming 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

IteratedLovinsStemmer

public IteratedLovinsStemmer()
Method Detail

stem

public java.lang.String stem(java.lang.String str)
Iterated stemming of the given word.

Overrides:
stem in class LovinsStemmer
Parameters:
str - 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.