public final class ParagraphFilter extends Filter
ParagraphPunctFilter
.
The only difference is that this filter removes from the Token sequence
only the paragraph delimiter tokens, but keeps other punctuation.
It is suitable for parsing document to be written to user, i.e.
in DocumentDuplicities.createReport(java.lang.String, boolean, boolean, double)
method.Constructor and Description |
---|
ParagraphFilter(Sequence<Token> prev)
Constructor for the ParagraphPunctFilter object
|
Modifier and Type | Method and Description |
---|---|
Token |
next()
Return the next token.
|
action, getPrevTokenizer, setPrevTokenizer
Copyright © 2016 Egothor. All Rights Reserved.