|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.l3s.boilerpipe.extractors.ExtractorBase
de.l3s.boilerpipe.extractors.ArticleExtractor
public final class ArticleExtractor
A full-text extractor which is tuned towards news articles. In this scenario
it achieves higher accuracy than DefaultExtractor
.
Field Summary | |
---|---|
static ArticleExtractor |
INSTANCE
|
Constructor Summary | |
---|---|
ArticleExtractor()
|
Method Summary | |
---|---|
static ArticleExtractor |
getInstance()
Returns the singleton instance for ArticleExtractor . |
boolean |
process(TextDocument doc)
Processes the given document doc . |
Methods inherited from class de.l3s.boilerpipe.extractors.ExtractorBase |
---|
getText, getText, getText, getText, getText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ArticleExtractor INSTANCE
Constructor Detail |
---|
public ArticleExtractor()
Method Detail |
---|
public static ArticleExtractor getInstance()
ArticleExtractor
.
public boolean process(TextDocument doc) throws BoilerpipeProcessingException
BoilerpipeFilter
doc
.
doc
- The TextDocument
that is to be processed.
true
if changes have been made to the
TextDocument
.
BoilerpipeProcessingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |