| Package | Description |
|---|---|
| edu.cmu.sphinx.result |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<Edge> |
Lattice.edges |
| Modifier and Type | Method and Description |
|---|---|
Edge |
Lattice.addEdge(Node fromNode,
Node toNode,
double acousticScore,
double lmScore)
Add an edge from fromNode to toNode.
|
Edge |
Node.findEquivalentLeavingEdge(Edge edge)
Returns a leaving edge that is equivalent to the given edge.
|
Edge |
Node.getEdgeFromNode(Node n)
given a node find the edge from that node
|
Edge |
Node.getEdgeToNode(Node n)
given a node find the edge to that node
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Edge> |
Node.getCopyOfEnteringEdges()
Returns a copy of the Edges to this Node, so that the underlying data structure will not be modified.
|
java.util.Collection<Edge> |
Node.getCopyOfLeavingEdges()
Returns a copy of the Edges from this Node, so that the underlying data structure will not be modified.
|
java.util.Collection<Edge> |
Lattice.getEdges()
Get the set of all Edges.
|
java.util.Collection<Edge> |
Node.getEnteringEdges()
Get the Edges to this Node
|
java.util.Collection<Edge> |
Node.getLeavingEdges()
Get the Edges from this Node
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Node.addEnteringEdge(Edge e)
Add an Edge from this Node
|
protected void |
Node.addLeavingEdge(Edge e)
Add an Edge to this Node
|
protected java.util.List<java.lang.String> |
LatticeRescorer.allPathsTo(java.lang.String path,
Edge edge,
int currentDepth) |
Edge |
Node.findEquivalentLeavingEdge(Edge edge)
Returns a leaving edge that is equivalent to the given edge.
|
boolean |
Edge.isEquivalent(Edge other)
Returns true if the given edge is equivalent to this edge.
|
protected void |
LatticeOptimizer.mergeNodesAndEdgesBackward(Edge e1,
Edge e2)
given edges e1 and e2 to node n from nodes n1 and n2
|
protected void |
LatticeOptimizer.mergeNodesAndEdgesForward(Edge e1,
Edge e2)
given edges e1 and e2 from node n to nodes n1 and n2
|
protected void |
Lattice.removeEdge(Edge e)
Remove an Edge from the set of all Edges.
|
protected void |
Node.removeEnteringEdge(Edge e)
Remove an Edge from this Node
|
void |
Node.removeLeavingEdge(Edge e)
Remove an Edge to this Node
|