public final class LabelToBoilerplateFilter extends java.lang.Object implements BoilerpipeFilter
Modifier and Type | Field and Description |
---|---|
static LabelToBoilerplateFilter |
INSTANCE_STRICTLY_NOT_CONTENT |
Constructor and Description |
---|
LabelToBoilerplateFilter(java.lang.String... label) |
Modifier and Type | Method and Description |
---|---|
boolean |
process(TextDocument doc)
Processes the given document
doc . |
public static final LabelToBoilerplateFilter INSTANCE_STRICTLY_NOT_CONTENT
public LabelToBoilerplateFilter(java.lang.String... label)
public boolean process(TextDocument doc) throws BoilerpipeProcessingException
BoilerpipeFilter
doc
.process
in interface BoilerpipeFilter
doc
- The TextDocument
that is to be processed.true
if changes have been made to the
TextDocument
.BoilerpipeProcessingException