Package de.l3s.boilerpipe.extractors
Class LargestContentExtractor
java.lang.Object
de.l3s.boilerpipe.extractors.ExtractorBase
de.l3s.boilerpipe.extractors.LargestContentExtractor
- All Implemented Interfaces:
BoilerpipeExtractor,BoilerpipeFilter
A full-text extractor which extracts the largest text component of a page.
For news articles, it may perform better than the
DefaultExtractor,
but usually worse than ArticleExtractor.- Author:
- Christian Kohlschütter
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic LargestContentExtractorReturns the singleton instance forLargestContentExtractor.booleanprocess(TextDocument doc) Processes the given documentdoc.
-
Field Details
-
INSTANCE
-
-
Method Details
-
getInstance
Returns the singleton instance forLargestContentExtractor. -
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
-