public class LineSentenceIterator extends BaseSentenceIterator
preProcessor
Constructor and Description |
---|
LineSentenceIterator(File f) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Same idea as
Iterator |
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
|
finish, getPreProcessor, setPreProcessor
public LineSentenceIterator(File f)
public String nextSentence()
SentenceIterator
public boolean hasNext()
SentenceIterator
Iterator
public void reset()
SentenceIterator
Copyright © 2018. All rights reserved.