de.l3s.boilerpipe.extractors
Class CanolaExtractor

java.lang.Object
  extended by de.l3s.boilerpipe.extractors.ExtractorBase
      extended by de.l3s.boilerpipe.extractors.CanolaExtractor
All Implemented Interfaces:
BoilerpipeExtractor, BoilerpipeFilter

public class CanolaExtractor
extends ExtractorBase

A full-text extractor trained on krdwrd Canola . Works well with SimpleEstimator, too.

Author:
Christian Kohlsch??tter

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

INSTANCE

public static final CanolaExtractor INSTANCE

CLASSIFIER

public static final BoilerpipeFilter CLASSIFIER
The actual classifier, exposed.

Constructor Detail

CanolaExtractor

public CanolaExtractor()
Method Detail

getInstance

public static CanolaExtractor getInstance()
Returns the singleton instance for CanolaExtractor.


process

public boolean process(TextDocument doc)
                throws BoilerpipeProcessingException
Description copied from interface: BoilerpipeFilter
Processes the given document doc.

Parameters:
doc - The TextDocument that is to be processed.
Returns:
true if changes have been made to the TextDocument.
Throws:
BoilerpipeProcessingException