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, reset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
forEachRemaining
public ColumnFormatReader(String path)
public void initializeReader()
AnnotationReader
initializeReader
in class AnnotationReader<TextAnnotation>
public void fillPaths()
public void readTextAnnotations()
public TextAnnotation readSingleFile(String file)
public boolean hasNext()
AnnotationReader
hasNext
in interface Iterator<TextAnnotation>
hasNext
in class AnnotationReader<TextAnnotation>
public TextAnnotation next()
AnnotationReader
next
in interface Iterator<TextAnnotation>
next
in class AnnotationReader<TextAnnotation>
public String generateReport()
AnnotationReader
generateReport
in class AnnotationReader<TextAnnotation>
Copyright © 2017. All rights reserved.