Class LabelFilterProcessor

java.lang.Object
org.carrot2.attrs.AttrComposite
org.carrot2.text.preprocessing.LabelFilterProcessor
All Implemented Interfaces:
AcceptingVisitor

public class LabelFilterProcessor
extends AttrComposite
Applies basic filtering to words and phrases to produce candidates for cluster labels. Filtering is applied to PreprocessingContext.AllWords and PreprocessingContext.AllPhrases, the results are saved to PreprocessingContext.AllLabels. Currently, the following filters are applied:
  1. StopWordLabelFilter
  2. CompleteLabelFilter
This class saves the following results to the PreprocessingContext:

This class requires that InputTokenizer, CaseNormalizer, StopListMarker and PhraseExtractor be invoked first.