public abstract class AbstractCoNLL09Reader extends Object implements SentenceReader
| Modifier and Type | Field and Description |
|---|---|
protected BufferedReader |
in |
protected static Pattern |
NEWLINE_PATTERN |
protected Sentence |
nextSen |
| Constructor and Description |
|---|
AbstractCoNLL09Reader(File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Iterator<Sentence> |
iterator() |
List<Sentence> |
readAll() |
protected abstract void |
readNextSentence() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected static final Pattern NEWLINE_PATTERN
protected BufferedReader in
protected Sentence nextSen
public AbstractCoNLL09Reader(File file)
protected abstract void readNextSentence()
throws IOException
IOExceptionpublic List<Sentence> readAll()
readAll in interface SentenceReaderpublic void close()
close in interface SentenceReaderCopyright © 2016. All rights reserved.