WordNetSemanticSimilarity.TaxonomicApproach
Class TaxonomicMeasures

java.lang.Object
  extended by WordNetSemanticSimilarity.TaxonomicApproach.TaxonomicMeasures

public class TaxonomicMeasures
extends java.lang.Object


Constructor Summary
TaxonomicMeasures(WordNetProcessing WP)
          Conctructor that receives as paramter an object WordNetProcessing which is a configuration
 
Method Summary
 double Gao_2015_Strategy2(java.lang.String Mot1, java.lang.String Mot2, int deepmax, Depth depth, double alpha, double betha)
           
 double HadjTaieb_2014(java.lang.String word1, java.lang.String word2, Hyponyms labelHypo, Depth labelDepth)
          HadjTaieb_2004 is a taxonomic semantic similarity measure between words.
 double Hao_2011(java.lang.String Mot1, java.lang.String Mot2, Depth depth, double betha, double alpha)
          Hao_2011 is a taxonomic semantic similarity measure between words.
 double LeacockChodorow_1997(java.lang.String Mot1, java.lang.String Mot2)
          LeacockChodorow_1997 is a taxonomic semantic similarity measure between words.
 double Li_2003(java.lang.String Mot1, java.lang.String Mot2, Depth depth, double alpha, double betha)
          Li_2003 is a taxonomic semantic similarity measure between words.
 double Liu_2007_1(java.lang.String Mot1, java.lang.String Mot2, Depth depth, double betha, double alpha)
          Liu_2007_1 is a taxonomic semantic similarity measure between words.
 double Liu_2007_2(java.lang.String Mot1, java.lang.String Mot2, Depth depth, double betha, double alpha)
          Liu_2007_2 is a taxonomic semantic similarity measure between words.
 double MubaidNguyen_2006(java.lang.String Mot1, java.lang.String Mot2, Depth depth, double betha, double alpha, double k)
          MubaidNguyen_2006 is a taxonomic semantic similarity measure between words.
 double WuPalmer_1994(java.lang.String Mot1, java.lang.String Mot2, Depth depth)
          WuPalmer_1994 is a taxonomic semantic similarity measure between words.
 double Zhou_2008(java.lang.String Mot1, java.lang.String Mot2, double deepmax, double k)
          Zhou_2008 is a taxonomic semantic similarity measure between words.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaxonomicMeasures

public TaxonomicMeasures(WordNetProcessing WP)
                  throws WordnetTreatmentException,
                         java.sql.SQLException
Conctructor that receives as paramter an object WordNetProcessing which is a configuration

Parameters:
WP -
Throws:
WordnetTreatmentException
java.sql.SQLException
See Also:
WordNetProcessing
Method Detail

HadjTaieb_2014

public double HadjTaieb_2014(java.lang.String word1,
                             java.lang.String word2,
                             Hyponyms labelHypo,
                             Depth labelDepth)
                      throws net.sf.extjwnl.JWNLException,
                             java.sql.SQLException
HadjTaieb_2004 is a taxonomic semantic similarity measure between words.

Parameters:
word1 -
word2 -
labelHypo -
labelDepth -
Throws:
net.sf.extjwnl.JWNLException
java.sql.SQLException

Zhou_2008

public double Zhou_2008(java.lang.String Mot1,
                        java.lang.String Mot2,
                        double deepmax,
                        double k)
                 throws java.sql.SQLException,
                        net.sf.extjwnl.JWNLException
Zhou_2008 is a taxonomic semantic similarity measure between words.

Parameters:
Mot1 -
Mot2 -
deepmax -
k - the adviced value is 0.5
Throws:
java.sql.SQLException
net.sf.extjwnl.JWNLException

Hao_2011

public double Hao_2011(java.lang.String Mot1,
                       java.lang.String Mot2,
                       Depth depth,
                       double betha,
                       double alpha)
                throws net.sf.extjwnl.JWNLException,
                       java.sql.SQLException
Hao_2011 is a taxonomic semantic similarity measure between words.

Parameters:
Mot1 -
Mot2 -
depth -
betha - the adviced value is 1.0
alpha - the adviced value is 0
Throws:
net.sf.extjwnl.JWNLException
java.sql.SQLException

Liu_2007_1

public double Liu_2007_1(java.lang.String Mot1,
                         java.lang.String Mot2,
                         Depth depth,
                         double betha,
                         double alpha)
                  throws net.sf.extjwnl.JWNLException,
                         java.sql.SQLException
Liu_2007_1 is a taxonomic semantic similarity measure between words.

Parameters:
Mot1 -
Mot2 -
depth -
betha - the adviced value is 0.55
alpha - the adviced value is 0.50
Throws:
net.sf.extjwnl.JWNLException
java.sql.SQLException

Liu_2007_2

public double Liu_2007_2(java.lang.String Mot1,
                         java.lang.String Mot2,
                         Depth depth,
                         double betha,
                         double alpha)
                  throws net.sf.extjwnl.JWNLException,
                         java.sql.SQLException
Liu_2007_2 is a taxonomic semantic similarity measure between words.

Parameters:
Mot1 -
Mot2 -
depth -
betha - the adviced value is 0.25
alpha - the adviced value is 0.25
Throws:
net.sf.extjwnl.JWNLException
java.sql.SQLException

Li_2003

public double Li_2003(java.lang.String Mot1,
                      java.lang.String Mot2,
                      Depth depth,
                      double alpha,
                      double betha)
               throws net.sf.extjwnl.JWNLException,
                      java.sql.SQLException
Li_2003 is a taxonomic semantic similarity measure between words.

Parameters:
Mot1 -
Mot2 -
depth -
alpha - the adviced value is 0.2
betha - the adviced value is 0.6
Throws:
net.sf.extjwnl.JWNLException
java.sql.SQLException

LeacockChodorow_1997

public double LeacockChodorow_1997(java.lang.String Mot1,
                                   java.lang.String Mot2)
                            throws net.sf.extjwnl.JWNLException,
                                   java.sql.SQLException
LeacockChodorow_1997 is a taxonomic semantic similarity measure between words.

Parameters:
Mot1 -
Mot2 -
Throws:
net.sf.extjwnl.JWNLException
java.sql.SQLException

WuPalmer_1994

public double WuPalmer_1994(java.lang.String Mot1,
                            java.lang.String Mot2,
                            Depth depth)
                     throws net.sf.extjwnl.JWNLException,
                            java.sql.SQLException
WuPalmer_1994 is a taxonomic semantic similarity measure between words.

Parameters:
Mot1 -
Mot2 -
depth -
Throws:
net.sf.extjwnl.JWNLException
java.sql.SQLException

MubaidNguyen_2006

public double MubaidNguyen_2006(java.lang.String Mot1,
                                java.lang.String Mot2,
                                Depth depth,
                                double betha,
                                double alpha,
                                double k)
                         throws net.sf.extjwnl.JWNLException,
                                java.sql.SQLException
MubaidNguyen_2006 is a taxonomic semantic similarity measure between words.

Parameters:
Mot1 -
Mot2 -
depth -
betha - the adviced value is 1.0
alpha - the adviced value is 1.0
k - the adviced value is 1.0
Throws:
net.sf.extjwnl.JWNLException
java.sql.SQLException

Gao_2015_Strategy2

public double Gao_2015_Strategy2(java.lang.String Mot1,
                                 java.lang.String Mot2,
                                 int deepmax,
                                 Depth depth,
                                 double alpha,
                                 double betha)
                          throws java.sql.SQLException,
                                 net.sf.extjwnl.JWNLException
Parameters:
Mot1 -
Mot2 -
deepmax -
depth -
alpha - the adviced value is 0.65
betha - the adviced value is 3.4
Throws:
java.sql.SQLException
net.sf.extjwnl.JWNLException