public class ConceptSimilarityWebServiceImpl extends Object implements ConceptSimilarityWebService, ConceptSimilarityRestService
Constructor and Description |
---|
ConceptSimilarityWebServiceImpl() |
Modifier and Type | Method and Description |
---|---|
List<SimServiceInfo> |
getConceptGraphs() |
SimServiceInfo |
getDefaultConceptGraph() |
SemanticSimRegistryBean |
getSemanticSimRegistryBean() |
void |
setSemanticSimRegistryBean(SemanticSimRegistryBean semanticSimRegistryBean) |
List<ConceptPairSimilarity> |
similarities(String conceptGraph,
ConceptPair[] conceptPairs,
String[] metrics,
boolean lcs)
compute similarity for a list of concept pairs
|
ConceptPairSimilarity |
similarity(String conceptGraph,
String concept1,
String concept2,
String metrics,
String lcs) |
public SemanticSimRegistryBean getSemanticSimRegistryBean()
public void setSemanticSimRegistryBean(SemanticSimRegistryBean semanticSimRegistryBean)
public ConceptPairSimilarity similarity(String conceptGraph, String concept1, String concept2, String metrics, String lcs)
similarity
in interface ConceptSimilarityRestService
public List<ConceptPairSimilarity> similarities(String conceptGraph, ConceptPair[] conceptPairs, String[] metrics, boolean lcs)
ConceptSimilarityWebService
similarities
in interface ConceptSimilarityWebService
conceptPairs
- 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.public SimServiceInfo getDefaultConceptGraph()
getDefaultConceptGraph
in interface ConceptSimilarityRestService
getDefaultConceptGraph
in interface ConceptSimilarityWebService
public List<SimServiceInfo> getConceptGraphs()
getConceptGraphs
in interface ConceptSimilarityRestService
getConceptGraphs
in interface ConceptSimilarityWebService
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.