Package de.l3s.boilerpipe.estimators
Class SimpleEstimator
java.lang.Object
de.l3s.boilerpipe.estimators.SimpleEstimator
Estimates the "goodness" of a
BoilerpipeExtractor on a given document.- Author:
- Christian Kohlschütter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleEstimatorReturns the singleton instance ofSimpleEstimator -
Method Summary
Modifier and TypeMethodDescriptionbooleanisLowQuality(TextDocumentStatistics dsBefore, TextDocumentStatistics dsAfter) Given the statistics of the document before and after applying theBoilerpipeExtractor, can we regard the extraction quality (too) low? Works well withDefaultExtractor,ArticleExtractorand others.
-
Field Details
-
INSTANCE
Returns the singleton instance ofSimpleEstimator
-
-
Method Details
-
isLowQuality
Given the statistics of the document before and after applying theBoilerpipeExtractor, can we regard the extraction quality (too) low? Works well withDefaultExtractor,ArticleExtractorand others.- Parameters:
dsBefore-dsAfter-- Returns:
- true if low quality is to be expected.
-