org.knowceans.corpus.util
Class Stemmer

java.lang.Object
  extended by org.knowceans.corpus.util.Stemmer

public class Stemmer
extends java.lang.Object

German stemmer based on a Snowball algorithm.

Author:
heinrich

Field Summary
(package private)  GermanStemmer stemmer
           
 
Constructor Summary
Stemmer()
          create a new German stemmer
 
Method Summary
static void main(java.lang.String[] args)
           
 java.lang.String stem(java.lang.String word)
          stem a single word
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stemmer

GermanStemmer stemmer
Constructor Detail

Stemmer

public Stemmer()
create a new German stemmer

Method Detail

stem

public java.lang.String stem(java.lang.String word)
stem a single word

Parameters:
word -
Returns:
the stemmed version of the word

main

public static void main(java.lang.String[] args)