|
||||||||||
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.CanolaExtractor
public class CanolaExtractor
A full-text extractor trained on krdwrd Canola
. Works well with SimpleEstimator
, too.
Field Summary | |
---|---|
static BoilerpipeFilter |
CLASSIFIER
The actual classifier, exposed. |
static CanolaExtractor |
INSTANCE
|
Constructor Summary | |
---|---|
CanolaExtractor()
|
Method Summary | |
---|---|
static CanolaExtractor |
getInstance()
Returns the singleton instance for CanolaExtractor . |
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 CanolaExtractor INSTANCE
public static final BoilerpipeFilter CLASSIFIER
Constructor Detail |
---|
public CanolaExtractor()
Method Detail |
---|
public static CanolaExtractor getInstance()
CanolaExtractor
.
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 |