|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectevaluation.AnnotationReader
public class AnnotationReader
Class for reading annotation files
| Nested Class Summary | |
|---|---|
static class |
AnnotationReader.SegmentAnnotation
Annotation of given segment |
| Constructor Summary | |
|---|---|
AnnotationReader(java.lang.String annotationFilename,
java.util.List<java.lang.String> annotatorsNames)
Constructor |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getAnnotatorsNames()
Gets descriptions of methods used for annotation |
AnnotationReader.SegmentAnnotation |
getNextTaggedSegment()
Gets next annotation |
void |
setCurrentCorpusText(corpusapi.CorpusText ct)
Sets reader for annotation file of given corpus text |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationReader(java.lang.String annotationFilename,
java.util.List<java.lang.String> annotatorsNames)
annotationFilename - filename of annotation filesannotatorsNames - methods which responses are in the files| Method Detail |
|---|
public void setCurrentCorpusText(corpusapi.CorpusText ct)
throws java.io.IOException
ct - corpus text
java.io.IOException
public AnnotationReader.SegmentAnnotation getNextTaggedSegment()
throws java.io.IOException
java.io.IOExceptionpublic java.util.List<java.lang.String> getAnnotatorsNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||