|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.text.preprocessing.LanguageModelStemmer
public final class LanguageModelStemmer
Applies stemming to words and calculates a number of frequency statistics for stems.
This class saves the following results to the PreprocessingContext:
PreprocessingContext.AllWords.stemIndexPreprocessingContext.AllStems.imagePreprocessingContext.AllStems.mostFrequentOriginalWordIndexPreprocessingContext.AllStems.tfPreprocessingContext.AllStems.tfByDocumentPreprocessingContext.AllWords.type is populated with ITokenizer.TF_QUERY_WORDTokenizer 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 |
|---|
public LanguageModelStemmer()
| Method Detail |
|---|
public void stem(PreprocessingContext context)
context.
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||