public class ColumnFormatReader extends AnnotationReader<TextAnnotation>
corpusName, currentAnnotationId, resourceManager| Constructor and Description |
|---|
ColumnFormatReader(String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
fillPaths() |
String |
generateReport()
generate a human-readable report of annotations read from the source file (plus whatever
other relevant statistics the user should know about).
|
boolean |
hasNext()
is there another annotation object to return?
|
void |
initializeReader()
called by constructor to perform subclass-specific initialization.
|
TextAnnotation |
next()
return the next annotation object.
|
TextAnnotation |
readSingleFile(String file) |
void |
readTextAnnotations() |
iterator, remove, resetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorforEachRemainingpublic ColumnFormatReader(String path)
public void initializeReader()
AnnotationReaderinitializeReader in class AnnotationReader<TextAnnotation>public void fillPaths()
public void readTextAnnotations()
public TextAnnotation readSingleFile(String file)
public boolean hasNext()
AnnotationReaderhasNext in interface Iterator<TextAnnotation>hasNext in class AnnotationReader<TextAnnotation>public TextAnnotation next()
AnnotationReadernext in interface Iterator<TextAnnotation>next in class AnnotationReader<TextAnnotation>public String generateReport()
AnnotationReadergenerateReport in class AnnotationReader<TextAnnotation>Copyright © 2017. All rights reserved.