public class PrettyCorpusReader extends Object implements IResetableIterator<CommaSRLSentence>, Serializable
Constructor and Description |
---|
PrettyCorpusReader(String annotationFileName) |
Modifier and Type | Method and Description |
---|---|
List<Comma> |
getCommas() |
List<CommaSRLSentence> |
getSentences() |
boolean |
hasNext() |
CommaSRLSentence |
next() |
void |
remove() |
void |
reset() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public PrettyCorpusReader(String annotationFileName)
public List<CommaSRLSentence> getSentences()
public boolean hasNext()
hasNext
in interface Iterator<CommaSRLSentence>
public CommaSRLSentence next()
next
in interface Iterator<CommaSRLSentence>
public void remove()
remove
in interface Iterator<CommaSRLSentence>
public void reset()
reset
in interface IResetableIterator<CommaSRLSentence>
Copyright © 2017. All rights reserved.