|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.text.preprocessing.pipeline.BasicPreprocessingPipeline
org.carrot2.text.preprocessing.pipeline.CompletePreprocessingPipeline
public class CompletePreprocessingPipeline
Performs a complete preprocessing on the provided documents. The preprocessing consists of the following steps:
Tokenizer.tokenize(PreprocessingContext)CaseNormalizer.normalize(PreprocessingContext)LanguageModelStemmer.stem(PreprocessingContext)StopListMarker.mark(PreprocessingContext)PhraseExtractor.extractPhrases(PreprocessingContext)LabelFilterProcessor.process(PreprocessingContext)DocumentAssigner.assign(PreprocessingContext)
| Field Summary | |
|---|---|
DocumentAssigner |
documentAssigner
Document assigner used by the algorithm, contains bindable attributes. |
LabelFilterProcessor |
labelFilterProcessor
Label filter processor used by the algorithm, contains bindable attributes. |
PhraseExtractor |
phraseExtractor
Phrase extractor used by the algorithm, contains bindable attributes. |
| Fields inherited from class org.carrot2.text.preprocessing.pipeline.BasicPreprocessingPipeline |
|---|
caseNormalizer, languageModelStemmer, lexicalDataFactory, stemmerFactory, stopListMarker, tokenizer, tokenizerFactory |
| Constructor Summary | |
|---|---|
CompletePreprocessingPipeline()
|
|
| Method Summary | |
|---|---|
void |
preprocess(PreprocessingContext context)
Performs preprocessing on the provided PreprocessingContext. |
| Methods inherited from class org.carrot2.text.preprocessing.pipeline.BasicPreprocessingPipeline |
|---|
preprocess |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final PhraseExtractor phraseExtractor
public final LabelFilterProcessor labelFilterProcessor
public final DocumentAssigner documentAssigner
| Constructor Detail |
|---|
public CompletePreprocessingPipeline()
| Method Detail |
|---|
public void preprocess(PreprocessingContext context)
PreprocessingContext.
preprocess in interface IPreprocessingPipelinepreprocess in class BasicPreprocessingPipeline
|
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 | ||||||||