WordNetSemanticSimilarity.PathApproach
Class MinPathLength

java.lang.Object
  extended by WordNetSemanticSimilarity.PathApproach.MinPathLength

public class MinPathLength
extends java.lang.Object


Constructor Summary
MinPathLength(WordNetProcessing WP)
          Creates a new instance of GraphWordNetTreatment
 
Method Summary
 double getMinPathLength(long id1, long id2)
           
 double getMinPathLength(java.lang.String Mot1, java.lang.String Mot2)
           
 double getNonTreatedValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinPathLength

public MinPathLength(WordNetProcessing WP)
              throws WordnetTreatmentException,
                     java.sql.SQLException
Creates a new instance of GraphWordNetTreatment

Throws:
WordnetTreatmentException
java.sql.SQLException
Method Detail

getNonTreatedValue

public double getNonTreatedValue()

getMinPathLength

public double getMinPathLength(java.lang.String Mot1,
                               java.lang.String Mot2)
                        throws net.sf.extjwnl.JWNLException,
                               java.sql.SQLException,
                               java.io.IOException
Throws:
net.sf.extjwnl.JWNLException
java.sql.SQLException
java.io.IOException

getMinPathLength

public double getMinPathLength(long id1,
                               long id2)
                        throws java.sql.SQLException,
                               net.sf.extjwnl.JWNLException
Throws:
java.sql.SQLException
net.sf.extjwnl.JWNLException