Class BratAnnotationStream
java.lang.Object
opennlp.tools.formats.brat.BratAnnotationStream
- All Implemented Interfaces:
AutoCloseable, opennlp.tools.util.ObjectStream<BratAnnotation>
public class BratAnnotationStream
extends Object
implements opennlp.tools.util.ObjectStream<BratAnnotation>
Reads the annotations from the brat
.ann annotation file.-
Method Summary
-
Method Details
-
read
- Specified by:
readin interfaceopennlp.tools.util.ObjectStream<BratAnnotation>- Throws:
IOException
-
reset
- Specified by:
resetin interfaceopennlp.tools.util.ObjectStream<BratAnnotation>- Throws:
IOExceptionUnsupportedOperationException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceopennlp.tools.util.ObjectStream<BratAnnotation>- Throws:
IOException
-