Interface SynonymConfidenceCapability
- All Known Implementing Classes:
BabelNetEmbeddingLinker
,GensimEmbeddingModel
public interface SynonymConfidenceCapability
Synonymy can be determined on a continuous scale.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getStrongFormSynonymyConfidence
(String linkedConcept1, String linkedConcept2) Given two links, determine the degree of synonymy.double
getSynonymyConfidence
(String linkedConcept1, String linkedConcept2) Given two links, determine the degree of synonymy.
-
Method Details
-
getSynonymyConfidence
Given two links, determine the degree of synonymy.- Parameters:
linkedConcept1
- Linked concept 1.linkedConcept2
- Linked concept 2.- Returns:
- True if synonymous, else false.
-
getStrongFormSynonymyConfidence
Given two links, determine the degree of synonymy.- Parameters:
linkedConcept1
- Linked concept 1.linkedConcept2
- Linked concept 2.- Returns:
- True if synonymous, else false.
-