public class SemanticAnnotator extends Object
| Constructor and Description |
|---|
SemanticAnnotator(WordSenseDisambiguation wordSenseDisambiguation,
EntityCandidateGenerator entityCandidateGenerator,
LinguisticAnnotator linguisticAnnotator)
Initialize this semantic annotator to use the entities from the provided ontology.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotatedDocument |
processDocument(TextDocument document)
Processes the given document and returns the annotated version of this document.
|
public SemanticAnnotator(WordSenseDisambiguation wordSenseDisambiguation, EntityCandidateGenerator entityCandidateGenerator, LinguisticAnnotator linguisticAnnotator)
public AnnotatedDocument processDocument(TextDocument document)
document - the document to annotate
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann