public static class HTKLatticeReader.LatticeWord extends Object implements Comparable<HTKLatticeReader.LatticeWord>
Modifier and Type | Field and Description |
---|---|
double |
am |
int |
endNode |
double |
lm |
boolean |
mergeType |
int |
pronunciation |
int |
startNode |
String |
word |
Constructor and Description |
---|
LatticeWord(String word,
int startNode,
int endNode,
double lm,
double am,
int pronunciation,
boolean mergeType) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(HTKLatticeReader.LatticeWord other) |
boolean |
equals(Object o) |
void |
merge(HTKLatticeReader.LatticeWord lw) |
String |
toString() |
public String word
public int startNode
public int endNode
public double lm
public double am
public int pronunciation
public final boolean mergeType
public LatticeWord(String word, int startNode, int endNode, double lm, double am, int pronunciation, boolean mergeType)
public void merge(HTKLatticeReader.LatticeWord lw)
public int compareTo(HTKLatticeReader.LatticeWord other)
compareTo
in interface Comparable<HTKLatticeReader.LatticeWord>