Package de.l3s.boilerpipe.filters.simple
Class SurroundingToContentFilter
- java.lang.Object
-
- de.l3s.boilerpipe.filters.simple.SurroundingToContentFilter
-
- All Implemented Interfaces:
BoilerpipeFilter
public class SurroundingToContentFilter extends java.lang.Object implements BoilerpipeFilter
-
-
Field Summary
Fields Modifier and Type Field Description static SurroundingToContentFilterINSTANCE_TEXT
-
Constructor Summary
Constructors Constructor Description SurroundingToContentFilter(TextBlockCondition cond)
-
Method Summary
Modifier and Type Method Description booleanprocess(TextDocument doc)Processes the given documentdoc.
-
-
-
Field Detail
-
INSTANCE_TEXT
public static final SurroundingToContentFilter INSTANCE_TEXT
-
-
Constructor Detail
-
SurroundingToContentFilter
public SurroundingToContentFilter(TextBlockCondition cond)
-
-
Method Detail
-
process
public boolean process(TextDocument doc) throws BoilerpipeProcessingException
Description copied from interface:BoilerpipeFilterProcesses the given documentdoc.- Specified by:
processin interfaceBoilerpipeFilter- Parameters:
doc- TheTextDocumentthat is to be processed.- Returns:
trueif changes have been made to theTextDocument.- Throws:
BoilerpipeProcessingException
-
-