public class NumWordsRulesExtractor extends ExtractorBase
| Modifier and Type | Field and Description |
|---|---|
static NumWordsRulesExtractor |
INSTANCE |
| Constructor and Description |
|---|
NumWordsRulesExtractor() |
| Modifier and Type | Method and Description |
|---|---|
static NumWordsRulesExtractor |
getInstance()
Returns the singleton instance for
NumWordsRulesExtractor. |
boolean |
process(TextDocument doc)
Processes the given document
doc. |
public static final NumWordsRulesExtractor INSTANCE
public static NumWordsRulesExtractor getInstance()
NumWordsRulesExtractor.public boolean process(TextDocument doc) throws BoilerpipeProcessingException
BoilerpipeFilterdoc.doc - The TextDocument that is to be processed.true if changes have been made to the
TextDocument.BoilerpipeProcessingException