|
||||||||||
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.NumWordsRulesExtractor
public class NumWordsRulesExtractor
A quite generic full-text extractor solely based upon the number of words per block (the current, the previous and the next block).
Field Summary | |
---|---|
static NumWordsRulesExtractor |
INSTANCE
|
Constructor Summary | |
---|---|
NumWordsRulesExtractor()
|
Method Summary | |
---|---|
static NumWordsRulesExtractor |
getInstance()
Returns the singleton instance for NumWordsRulesExtractor . |
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 NumWordsRulesExtractor INSTANCE
Constructor Detail |
---|
public NumWordsRulesExtractor()
Method Detail |
---|
public static NumWordsRulesExtractor getInstance()
NumWordsRulesExtractor
.
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 |