Class LabelToContentFilter
java.lang.Object
com.kohlschutter.boilerpipe.filters.simple.LabelToContentFilter
- All Implemented Interfaces:
BoilerpipeFilter
Marks all blocks that contain a given label as "content".
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(TextDocument doc) Processes the given documentdoc.
-
Field Details
-
labels
-
-
Constructor Details
-
LabelToContentFilter
-
-
Method Details
-
process
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
-