Package de.l3s.boilerpipe.extractors
Class ArticleExtractor
java.lang.Object
de.l3s.boilerpipe.extractors.ExtractorBase
de.l3s.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.- Author:
- Christian Kohlschütter
-
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
-