public class MixingSentenceSource extends SentenceSource
| Modifier and Type | Method and Description |
|---|---|
static MixingSentenceSource |
create(List<String> dumpFileNames,
Language language) |
static MixingSentenceSource |
create(List<String> dumpFileNames,
Language language,
Pattern filter) |
String |
getSource() |
boolean |
hasNext() |
Sentence |
next()
Return the next sentence.
|
acceptSentence, remove, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingpublic static MixingSentenceSource create(List<String> dumpFileNames, Language language) throws IOException
IOExceptionpublic static MixingSentenceSource create(List<String> dumpFileNames, Language language, Pattern filter) throws IOException
IOExceptionpublic boolean hasNext()
hasNext in interface Iterator<Sentence>hasNext in class SentenceSourcepublic Sentence next()
SentenceSourcenext in interface Iterator<Sentence>next in class SentenceSourcepublic String getSource()
getSource in class SentenceSource