public class SurroundingToContentFilter extends java.lang.Object implements BoilerpipeFilter
Modifier and Type | Field and Description |
---|---|
static SurroundingToContentFilter |
INSTANCE_TEXT |
Constructor and Description |
---|
SurroundingToContentFilter(TextBlockCondition cond) |
Modifier and Type | Method and Description |
---|---|
boolean |
process(TextDocument doc)
Processes the given document
doc . |
public static final SurroundingToContentFilter INSTANCE_TEXT
public SurroundingToContentFilter(TextBlockCondition cond)
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