|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ILabelFilter
Defines the contract for label filtering components, which mark words and phrases that should not be considered as candidates for cluster labels
LabelFilterProcessor| Method Summary | |
|---|---|
void |
filter(PreprocessingContext context,
boolean[] acceptedStems,
boolean[] acceptedPhrases)
Called to perform label filtering. |
boolean |
isEnabled()
|
| Method Detail |
|---|
void filter(PreprocessingContext context,
boolean[] acceptedStems,
boolean[] acceptedPhrases)
context - contains words and phrases to be filteredacceptedStems - the filter should set to false those elements
that correspond to the stems to be filtered outacceptedPhrases - the filter should set to false those elements
that correspond to the phrases to be filtered outboolean isEnabled()
true if the filter is to be applied, false if the
filter should be omitted by the LabelFilterProcessor.
|
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 | ||||||||