| Package | Description |
|---|---|
| opennlp.tools.formats.brat |
| Modifier and Type | Method and Description |
|---|---|
AnnotationConfiguration |
BratDocument.getConfig() |
static AnnotationConfiguration |
AnnotationConfiguration.parse(File annConfigFile) |
static AnnotationConfiguration |
AnnotationConfiguration.parse(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
static BratDocument |
BratDocument.parseDocument(AnnotationConfiguration config,
String id,
InputStream txtIn,
InputStream annIn) |
| Constructor and Description |
|---|
BratDocument(AnnotationConfiguration config,
String id,
String text,
Collection<BratAnnotation> annotations) |
BratDocumentStream(AnnotationConfiguration config,
File bratCorpusDirectory,
boolean searchRecursive,
FileFilter fileFilter)
Creates a BratDocumentStream which reads the documents from the given input directory.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.