|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.l3s.boilerpipe.estimators.SimpleEstimator
public final class SimpleEstimator
Estimates the "goodness" of a BoilerpipeExtractor
on a given document.
Field Summary | |
---|---|
static SimpleEstimator |
INSTANCE
Returns the singleton instance of SimpleEstimator |
Method Summary | |
---|---|
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? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SimpleEstimator INSTANCE
SimpleEstimator
Method Detail |
---|
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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |