public abstract class WordSenseDisambiguation extends Object
| Constructor and Description |
|---|
WordSenseDisambiguation(org.semanticweb.owlapi.model.OWLOntology ontology)
Initializes the word sense disambiguation to use the given ontology.
|
| Modifier and Type | Method and Description |
|---|---|
abstract SemanticAnnotation |
disambiguate(Annotation annotation,
Set<EntityScorePair> candidateEntities)
Chooses the correct entity for the given annotation from a set of candidate entities.
|
public WordSenseDisambiguation(org.semanticweb.owlapi.model.OWLOntology ontology)
ontology - the ontology to disambiguate onpublic abstract SemanticAnnotation disambiguate(Annotation annotation, Set<EntityScorePair> candidateEntities)
annotation - the annotation to find entity forcandidateEntities - the set of candidate entities
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann