Package opennlp.tools.formats.brat
Class BratDocument
java.lang.Object
opennlp.tools.formats.brat.BratDocument
- 
Constructor SummaryConstructorsConstructorDescriptionBratDocument(AnnotationConfiguration config, String id, String text, Collection<BratAnnotation> annotations) 
- 
Method SummaryModifier and TypeMethodDescriptiongetAnnotation(String id) getId()getText()static BratDocumentparseDocument(AnnotationConfiguration config, String id, InputStream txtIn, InputStream annIn) 
- 
Constructor Details- 
BratDocumentpublic BratDocument(AnnotationConfiguration config, String id, String text, Collection<BratAnnotation> annotations) 
 
- 
- 
Method Details- 
getConfig
- 
getId
- 
getText
- 
getAnnotation
- 
getAnnotations
- 
parseDocumentpublic static BratDocument parseDocument(AnnotationConfiguration config, String id, InputStream txtIn, InputStream annIn) throws IOException - Throws:
- IOException
 
 
-