public class CanolaExtractor extends ExtractorBase
Modifier and Type | Field and Description |
---|---|
static BoilerpipeFilter |
CLASSIFIER
The actual classifier, exposed.
|
static CanolaExtractor |
INSTANCE |
Constructor and Description |
---|
CanolaExtractor() |
Modifier and Type | Method and Description |
---|---|
static CanolaExtractor |
getInstance()
Returns the singleton instance for
CanolaExtractor . |
boolean |
process(TextDocument doc)
Processes the given document
doc . |
public static final CanolaExtractor INSTANCE
public static final BoilerpipeFilter CLASSIFIER
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