public class ConfusionPair extends Object
Constructor and Description |
---|
ConfusionPair(ConfusionString cs1,
ConfusionString cs2,
long factor,
boolean bidirectional) |
ConfusionPair(String token1,
String token2,
Long factor,
boolean bidirectional) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getFactor() |
ConfusionString |
getTerm1() |
ConfusionString |
getTerm2() |
List<ConfusionString> |
getTerms() |
List<ConfusionString> |
getUppercaseFirstCharTerms() |
int |
hashCode() |
boolean |
isBidirectional() |
String |
toString() |
public ConfusionPair(ConfusionString cs1, ConfusionString cs2, long factor, boolean bidirectional)
public long getFactor()
public boolean isBidirectional()
public ConfusionString getTerm1()
public ConfusionString getTerm2()
public List<ConfusionString> getTerms()
public List<ConfusionString> getUppercaseFirstCharTerms()