org.carrot2.text.preprocessing
Class LanguageModelStemmer

java.lang.Object
  extended by org.carrot2.text.preprocessing.LanguageModelStemmer

public final class LanguageModelStemmer
extends Object

Applies stemming to words and calculates a number of frequency statistics for stems.

This class saves the following results to the PreprocessingContext:

This class requires that Tokenizer and CaseNormalizer be invoked first.


Constructor Summary
LanguageModelStemmer()
           
 
Method Summary
 void stem(PreprocessingContext context)
          Performs stemming and saves the results to the context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LanguageModelStemmer

public LanguageModelStemmer()
Method Detail

stem

public void stem(PreprocessingContext context)
Performs stemming and saves the results to the context.



Copyright (c) Dawid Weiss, Stanislaw Osinski