com.wcohen.ss
Class TagLink.Candidates

java.lang.Object
  extended by com.wcohen.ss.TagLink.Candidates
Enclosing class:
TagLink

public static class TagLink.Candidates
extends java.lang.Object


Constructor Summary
TagLink.Candidates(int tPos, int uPos, double score)
          Candidates constructor.
 
Method Summary
 double getScore()
          getScore, return the score or distance between strings T and U.
 int getTPos()
          getTPos, return the position of string T.
 int getUPos()
          getUPos, return the position of string U.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagLink.Candidates

public TagLink.Candidates(int tPos,
                          int uPos,
                          double score)
Candidates constructor. Creates an instance of a candidate string pair T and U. It requires the position of the pair in the string and the score or distance between them.

Parameters:
tPos - int
uPos - int
score - float
Method Detail

getTPos

public int getTPos()
getTPos, return the position of string T.

Returns:
int

getUPos

public int getUPos()
getUPos, return the position of string U.

Returns:
int

getScore

public double getScore()
getScore, return the score or distance between strings T and U.

Returns:
float