public final class SimpleEstimator
extends java.lang.Object
BoilerpipeExtractor
on a given document.Modifier and Type | Field and Description |
---|---|
static SimpleEstimator |
INSTANCE
Returns the singleton instance of
SimpleEstimator |
Modifier and Type | Method and Description |
---|---|
boolean |
isLowQuality(TextDocumentStatistics dsBefore,
TextDocumentStatistics dsAfter)
Given the statistics of the document before and after applying the
BoilerpipeExtractor ,
can we regard the extraction quality (too) low?
Works well with DefaultExtractor , ArticleExtractor and others. |
public static final SimpleEstimator INSTANCE
SimpleEstimator
public boolean isLowQuality(TextDocumentStatistics dsBefore, TextDocumentStatistics dsAfter)
BoilerpipeExtractor
,
can we regard the extraction quality (too) low?
Works well with DefaultExtractor
, ArticleExtractor
and others.dsBefore
- dsAfter
-