| Modifier and Type | Class and Description |
|---|---|
static class |
TSVSentenceIterator.SentenceField
A list of possible fields in the sentence table
|
| Constructor and Description |
|---|
TSVSentenceIterator(Iterator<List<String>> recordSource,
List<TSVSentenceIterator.SentenceField> fields) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Sentence |
next() |
static CoreMap |
toCoreMap(List<TSVSentenceIterator.SentenceField> fields,
List<String> entries) |
static Sentence |
toSentence(List<TSVSentenceIterator.SentenceField> fields,
List<String> entries)
Populates the fields of a sentence
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic TSVSentenceIterator(Iterator<List<String>> recordSource, List<TSVSentenceIterator.SentenceField> fields)
public static Sentence toSentence(List<TSVSentenceIterator.SentenceField> fields, List<String> entries)
fields - entries - public static CoreMap toCoreMap(List<TSVSentenceIterator.SentenceField> fields, List<String> entries)