Class ArticleExtractor
java.lang.Object
com.kohlschutter.boilerpipe.extractors.ExtractorBase
com.kohlschutter.boilerpipe.extractors.ArticleExtractor
- All Implemented Interfaces:
BoilerpipeExtractor, BoilerpipeFilter
A full-text extractor which is tuned towards news articles. In this scenario it achieves higher
accuracy than
DefaultExtractor.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ArticleExtractorReturns the singleton instance forArticleExtractor.booleanprocess(TextDocument doc) Processes the given documentdoc.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ArticleExtractor
public ArticleExtractor()
-
-
Method Details
-
getInstance
Returns the singleton instance forArticleExtractor. -
process
Description copied from interface:BoilerpipeFilterProcesses the given documentdoc.- Parameters:
doc- TheTextDocumentthat is to be processed.- Returns:
trueif changes have been made to theTextDocument.- Throws:
BoilerpipeProcessingException
-