public final class LargestContentExtractor extends ExtractorBase
DefaultExtractor
,
but usually worse than ArticleExtractor
.Modifier and Type | Field and Description |
---|---|
static LargestContentExtractor |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static LargestContentExtractor |
getInstance()
Returns the singleton instance for
LargestContentExtractor . |
boolean |
process(TextDocument doc)
Processes the given document
doc . |
public static final LargestContentExtractor INSTANCE
public static LargestContentExtractor getInstance()
LargestContentExtractor
.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