public interface SimilarityMetric
Modifier and Type | Method and Description |
---|---|
double |
similarity(String concept1,
String concept2,
Map<String,Double> conceptFilter,
SimilarityInfo simInfo) |
double similarity(String concept1, String concept2, Map<String,Double> conceptFilter, SimilarityInfo simInfo)
concept1
- required - concept idconcept2
- required - concept idconceptFilter
- optional. map of concept id to relevance (infogain) for all
concepts. Only lcses from this map will be considered.simInfo
- optional. if provided, we will fill in the path information
and lcs of simInfoCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.