Package de.l3s.boilerpipe.extractors
Class KeepEverythingWithMinKWordsExtractor
java.lang.Object
de.l3s.boilerpipe.extractors.ExtractorBase
de.l3s.boilerpipe.extractors.KeepEverythingWithMinKWordsExtractor
- 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(TextDocument doc) Processes the given documentdoc.
-
Constructor Details
-
KeepEverythingWithMinKWordsExtractor
public KeepEverythingWithMinKWordsExtractor(int kMin)
-
-
Method Details
-
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
-