public class GenericMentionAnnotator extends MentionAnnotator
MentionAnnotator.Builder| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
bestModelcomponents, it, provenance, tagger| Modifier | Constructor and Description |
|---|---|
protected |
GenericMentionAnnotator()
Please use GenericMentionAnnotator().create()
|
| Modifier and Type | Method and Description |
|---|---|
void |
annotate(Collection<Document> docs)
Annotates given documents for English and German texts.
|
static MentionAnnotator |
create()
Returns a generic Named Entity Mention Annotator with language detection.
|
createAnnotations, createTags, getTagger, toString, trainModel, trainModel, trainModel, trainModel, trainModelEarlyStopping, writeBestModeladdComponent, annotate, annotate, annotate, createDataset, createDocument, getComponent, getProvenance, isModelAvailable, isModelAvailableInChildren, readModel, trainModel, writeComponents, writeHTML, writeModel, writeModel, writeTestLog, writeTrainLogprotected GenericMentionAnnotator()
throws IOException
IOExceptionpublic static MentionAnnotator create()
public void annotate(Collection<Document> docs)
annotate in class MentionAnnotatorCopyright © 2020. All rights reserved.