Class SplitParagraphBlocksFilter
java.lang.Object
com.kohlschutter.boilerpipe.filters.simple.SplitParagraphBlocksFilter
- All Implemented Interfaces:
BoilerpipeFilter
Splits TextBlocks at paragraph boundaries.
NOTE: This is not fully supported (i.e., it will break highlighting support via
#getContainedTextElements()), but this one probably is necessary for some other filters.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SplitParagraphBlocksFilterReturns the singleton instance for TerminatingBlocksFinder.booleanprocess(TextDocument doc) Processes the given documentdoc.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
SplitParagraphBlocksFilter
public SplitParagraphBlocksFilter()
-
-
Method Details
-
getInstance
Returns the singleton instance for TerminatingBlocksFinder. -
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
-