@Bindable(prefix="LabelFilterProcessor") public class LabelFilterProcessor extends Object
PreprocessingContext.AllWords and PreprocessingContext.AllPhrases, the results are saved
to PreprocessingContext.AllLabels. Currently, the following filters are applied:
This class saves the following results to the PreprocessingContext:
This class requires that Tokenizer, CaseNormalizer,
StopListMarker and PhraseExtractor be invoked first.
| Modifier and Type | Field and Description |
|---|---|
CompleteLabelFilter |
completeLabelFilter
Truncated phrase filter for this processor.
|
GenitiveLabelFilter |
genitiveLabelFilter
Genitive length label filter.
|
MinLengthLabelFilter |
minLengthLabelFilter
Min length label filter.
|
NumericLabelFilter |
numericLabelFilter
Numeric label filter for this processor.
|
QueryLabelFilter |
queryLabelFilter
Query word label filter for this processor.
|
StopLabelFilter |
stopLabelFilter
Stop label filter.
|
StopWordLabelFilter |
stopWordLabelFilter
Stop word label filter for this processor.
|
| Constructor and Description |
|---|
LabelFilterProcessor() |
public QueryLabelFilter queryLabelFilter
public StopWordLabelFilter stopWordLabelFilter
public NumericLabelFilter numericLabelFilter
public CompleteLabelFilter completeLabelFilter
public MinLengthLabelFilter minLengthLabelFilter
public GenitiveLabelFilter genitiveLabelFilter
public StopLabelFilter stopLabelFilter
public void process(PreprocessingContext context)