|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
Public Member Functions | |
| HGNode (int i, int j, int lhs, TreeMap< Integer, DPState > dpStates, HyperEdge initHyperedge, double estTotalLogP) | |
| HGNode (int i, int j, int lhs, List< HyperEdge > hyperedges, HyperEdge bestHyperedge, TreeMap< Integer, DPState > states) | |
| void | addHyperedgeInNode (HyperEdge dt) |
| void | semiringPlus (HyperEdge dt) |
| void | addHyperedgesInNode (List< HyperEdge > hyperedges) |
| TreeMap< Integer, DPState > | getDPStates () |
| DPState | getDPState (int stateID) |
| void | printInfo (Level level) |
| String | getSignature () |
| void | releaseDPStatesMemory () |
| double | getEstTotalLogP () |
| int | compareTo (HGNode anotherItem) |
| boolean | isDead () |
| double | getPruneLogP () |
| void | setDead () |
| void | setPruneLogP (double estTotalLogP) |
| List< HyperEdge > | getHyperEdges () |
Public Attributes | |
| int | i |
| int | lhs |
| List< HyperEdge > | hyperedges = null |
| HyperEdge | bestHyperedge = null |
| boolean | isDead = false |
Static Public Attributes | |
| static Comparator< HGNode > | inverseLogPComparator |
| static Comparator< HGNode > | logPComparator |
Package Attributes | |
| int | j |
| TreeMap< Integer, DPState > | dpStates |
Private Attributes | |
| String | signature = null |
| double | estTotalLogP = 0.0 |
Static Private Attributes | |
| static final String | STATE_SIG_SEP = " -f- " |
this class implement Hypergraph node (i.e., HGNode); also known as Item in parsing.
| joshua.decoder.hypergraph.HGNode.HGNode | ( | int | i, |
| int | j, | ||
| int | lhs, | ||
| TreeMap< Integer, DPState > | dpStates, | ||
| HyperEdge | initHyperedge, | ||
| double | estTotalLogP | ||
| ) |
| joshua.decoder.hypergraph.HGNode.HGNode | ( | int | i, |
| int | j, | ||
| int | lhs, | ||
| List< HyperEdge > | hyperedges, | ||
| HyperEdge | bestHyperedge, | ||
| TreeMap< Integer, DPState > | states | ||
| ) |
| void joshua.decoder.hypergraph.HGNode.addHyperedgesInNode | ( | List< HyperEdge > | hyperedges | ) |
| int joshua.decoder.hypergraph.HGNode.compareTo | ( | HGNode | anotherItem | ) |
| DPState joshua.decoder.hypergraph.HGNode.getDPState | ( | int | stateID | ) |
| TreeMap<Integer, DPState> joshua.decoder.hypergraph.HGNode.getDPStates | ( | ) |
| boolean joshua.decoder.hypergraph.HGNode.isDead | ( | ) |
| void joshua.decoder.hypergraph.HGNode.printInfo | ( | Level | level | ) |
| void joshua.decoder.hypergraph.HGNode.setPruneLogP | ( | double | estTotalLogP | ) |
TreeMap<Integer, DPState> joshua.decoder.hypergraph.HGNode.dpStates [package] |
double joshua.decoder.hypergraph.HGNode.estTotalLogP = 0.0 [private] |
| List<HyperEdge> joshua.decoder.hypergraph.HGNode.hyperedges = null |
Comparator<HGNode> joshua.decoder.hypergraph.HGNode.inverseLogPComparator [static] |
| boolean joshua.decoder.hypergraph.HGNode.isDead = false |
int joshua.decoder.hypergraph.HGNode.j [package] |
Comparator<HGNode> joshua.decoder.hypergraph.HGNode.logPComparator [static] |
String joshua.decoder.hypergraph.HGNode.signature = null [private] |
final String joshua.decoder.hypergraph.HGNode.STATE_SIG_SEP = " -f- " [static, private] |