@Deprecated public class PrefetchingSentenceIterator extends Object implements SentenceIterator
| Modifier and Type | Class and Description |
|---|---|
static class |
PrefetchingSentenceIterator.Builder
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize()
Deprecated.
|
void |
finish()
Deprecated.
Allows for any finishing (closing of input streams or the like)
|
SentencePreProcessor |
getPreProcessor()
Deprecated.
|
boolean |
hasNext()
Deprecated.
Same idea as
Iterator |
String |
nextSentence()
Deprecated.
Gets the next sentence or null
if there's nothing left (Do yourself a favor and
check hasNext() )
|
void |
reset()
Deprecated.
Resets the iterator to the beginning
|
void |
setPreProcessor(SentencePreProcessor preProcessor)
Deprecated.
|
public String nextSentence()
SentenceIteratornextSentence in interface SentenceIteratorpublic boolean hasNext()
SentenceIteratorIteratorhasNext in interface SentenceIteratorpublic void reset()
SentenceIteratorreset in interface SentenceIteratorpublic void finish()
SentenceIteratorfinish in interface SentenceIteratorpublic SentencePreProcessor getPreProcessor()
getPreProcessor in interface SentenceIteratorpublic void setPreProcessor(SentencePreProcessor preProcessor)
setPreProcessor in interface SentenceIteratorCopyright © 2022. All rights reserved.