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