public interface ConceptSimilarityWebService
Modifier and Type | Method and Description |
---|---|
List<SimServiceInfo> |
getConceptGraphs() |
SimServiceInfo |
getDefaultConceptGraph() |
List<ConceptPairSimilarity> |
similarities(String conceptGraph,
ConceptPair[] conceptPairs,
String[] metrics,
boolean lcs)
compute similarity for a list of concept pairs
|
SimServiceInfo getDefaultConceptGraph()
List<SimServiceInfo> getConceptGraphs()
List<ConceptPairSimilarity> similarities(String conceptGraph, ConceptPair[] conceptPairs, String[] metrics, boolean lcs)
conceptGraphName
- optionalconceptPairs
- required, concept pairs for which similarity should be
computedmetrics
- required, similarity metrics to computelcs
- optional - if true, fill in the lcs paths for each concept pair.Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.