public class SimpleCorpus extends Object implements ErrorCorpus
1. This is _a_ error. => an 2. Here _come_ another example. => comes
Constructor and Description |
---|
SimpleCorpus(File simpleTextFile) |
Modifier and Type | Method and Description |
---|---|
Iterator<ErrorSentence> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public SimpleCorpus(File simpleTextFile) throws IOException
IOException
public Iterator<ErrorSentence> iterator()
iterator
in interface Iterable<ErrorSentence>