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