edu.stanford.nlp.parser.lexparser
Class HTKLatticeReader.LatticeWord

java.lang.Object
  extended by edu.stanford.nlp.parser.lexparser.HTKLatticeReader.LatticeWord
All Implemented Interfaces:
Comparable<HTKLatticeReader.LatticeWord>
Enclosing class:
HTKLatticeReader

public static class HTKLatticeReader.LatticeWord
extends Object
implements Comparable<HTKLatticeReader.LatticeWord>


Field Summary
 double am
           
 int endNode
           
 double lm
           
 int pronunciation
           
 int startNode
           
 String word
           
 
Constructor Summary
HTKLatticeReader.LatticeWord(String word, int startNode, int endNode, double lm, double am, int pronunciation)
           
 
Method Summary
 int compareTo(HTKLatticeReader.LatticeWord other)
           
 boolean equals(Object o)
           
 void merge(HTKLatticeReader.LatticeWord lw)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

word

public String word

startNode

public int startNode

endNode

public int endNode

lm

public double lm

am

public double am

pronunciation

public int pronunciation
Constructor Detail

HTKLatticeReader.LatticeWord

public HTKLatticeReader.LatticeWord(String word,
                                    int startNode,
                                    int endNode,
                                    double lm,
                                    double am,
                                    int pronunciation)
Method Detail

merge

public void merge(HTKLatticeReader.LatticeWord lw)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

compareTo

public int compareTo(HTKLatticeReader.LatticeWord other)
Specified by:
compareTo in interface Comparable<HTKLatticeReader.LatticeWord>


Stanford NLP Group