public class TranslationCandidate extends java.lang.Object implements java.lang.Comparable<TranslationCandidate>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TranslationCandidate o) |
boolean |
equals(java.lang.Object obj) |
IExplanation |
getExplanation() |
AlignmentMethod |
getMethod() |
int |
getRank() |
double |
getScore() |
java.lang.Object |
getSourceTerm()
Not necessarily an instance of
Term . |
java.util.List<TranslationCandidate> |
getSubCandidates() |
Term |
getTerm() |
int |
hashCode() |
java.lang.String |
toString() |
public int getRank()
public int compareTo(TranslationCandidate o)
compareTo
in interface java.lang.Comparable<TranslationCandidate>
public double getScore()
public Term getTerm()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object getSourceTerm()
Term
. Can also be a list of terms.public IExplanation getExplanation()
public java.util.List<TranslationCandidate> getSubCandidates()
public AlignmentMethod getMethod()