slib.sml.sm.core.measures.graph.pairwise.dag.hybrid.experimental
Class Sim_pairwise_DAG_edge_Li_2003
java.lang.Object
slib.sml.sm.core.measures.graph.pairwise.dag.edge_based.Sim_DAG_edge_abstract
slib.sml.sm.core.measures.graph.pairwise.dag.hybrid.experimental.Sim_pairwise_DAG_edge_Li_2003
- All Implemented Interfaces:
- Sim_Pairwise_DAG, Sim_Pairwise
public class Sim_pairwise_DAG_edge_Li_2003
- extends Sim_DAG_edge_abstract
Li Y, Bandar ZA, McLean D: An approach for measuring semantic similarity
between words using multiple information sources. IEEE Transactions on
Knowledge and Data Engineering 2003, 15:871-882.
TODO check LCA restriction
Method Summary |
boolean |
isSymmetric()
|
double |
sim(double sp_AtoB,
Set<org.openrdf.model.URI> ancestors_A,
Set<org.openrdf.model.URI> ancestors_B,
Map<org.openrdf.model.URI,Integer> maxDepths)
Revenir sur la recherche du msa de Li Pour Li le msa est le concept de
plus faible profondeur qui appartient au chemin le plus court entre les
deux concepts passant par un ancetre commun des deux concepts
Alpha in [0,1] (best : 0.2) Beta in ]0,1] (best : 0.6) |
double |
sim(org.openrdf.model.URI a,
org.openrdf.model.URI b,
SM_Engine c,
SMconf conf)
Compute the semantic similarity of the pair of concepts/classes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sim_pairwise_DAG_edge_Li_2003
public Sim_pairwise_DAG_edge_Li_2003()
sim
public double sim(org.openrdf.model.URI a,
org.openrdf.model.URI b,
SM_Engine c,
SMconf conf)
throws slib.utils.ex.SLIB_Exception
- Description copied from interface:
Sim_Pairwise
- Compute the semantic similarity of the pair of concepts/classes.
- Parameters:
a
- the first concept/classb
- the second concept/classc
- the engine used to access information required by the measuresconf
- the configuration to consider
- Returns:
- the similarity between the pair of concept/class.
- Throws:
slib.utils.ex.SLIB_Exception
sim
public double sim(double sp_AtoB,
Set<org.openrdf.model.URI> ancestors_A,
Set<org.openrdf.model.URI> ancestors_B,
Map<org.openrdf.model.URI,Integer> maxDepths)
throws slib.utils.ex.SLIB_Exception
- Revenir sur la recherche du msa de Li Pour Li le msa est le concept de
plus faible profondeur qui appartient au chemin le plus court entre les
deux concepts passant par un ancetre commun des deux concepts
Alpha in [0,1] (best : 0.2) Beta in ]0,1] (best : 0.6)
- Parameters:
sp_AtoB
- ancestors_A
- ancestors_B
- maxDepths
-
- Returns:
-
- Throws:
slib.utils.ex.SLIB_Exception
isSymmetric
public boolean isSymmetric()
Copyright © 2013. All Rights Reserved.