public interface SentenceIterator
Modifier and Type | Method and Description |
---|---|
void |
finish()
Allows for any finishing (closing of input streams or the like)
|
SentencePreProcessor |
getPreProcessor() |
boolean |
hasNext()
Same idea as
Iterator |
java.lang.String |
nextSentence()
Gets the next sentence or null
if there's nothing left (Do yourself a favor and
check hasNext() )
|
void |
reset()
Resets the iterator to the beginning
|
void |
setPreProcessor(SentencePreProcessor preProcessor) |
java.lang.String nextSentence()
boolean hasNext()
Iterator
void reset()
void finish()
SentencePreProcessor getPreProcessor()
void setPreProcessor(SentencePreProcessor preProcessor)