public class BratDocumentParser extends Object
Constructor and Description |
---|
BratDocumentParser(SentenceDetector sentenceDetector,
Tokenizer tokenizer) |
BratDocumentParser(SentenceDetector sentenceDetector,
Tokenizer tokenizer,
Set<String> nameTypes) |
Modifier and Type | Method and Description |
---|---|
List<NameSample> |
parse(BratDocument sample) |
public BratDocumentParser(SentenceDetector sentenceDetector, Tokenizer tokenizer)
public BratDocumentParser(SentenceDetector sentenceDetector, Tokenizer tokenizer, Set<String> nameTypes)
public List<NameSample> parse(BratDocument sample)
Copyright © 2021 The Apache Software Foundation. All rights reserved.