|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
Public Member Functions | |
| HyperGraph (HGNode goalNode, int numNodes, int numEdges, int sentID, int sentLen) | |
| double | bestLogP () |
Static Public Member Functions | |
| static HyperGraph | mergeTwoHyperGraphs (HyperGraph hg1, HyperGraph hg2) |
| static HyperGraph | mergeHyperGraphs (List< HyperGraph > hgs) |
Public Attributes | |
| HGNode | goalNode = null |
| int | numNodes = -1 |
| int | numEdges = -1 |
| int | sentID = -1 |
| int | sentLen = -1 |
Static Package Attributes | |
| static final Logger | logger = Logger.getLogger(HyperGraph.class.getName()) |
this class implement (1) HyperGraph-related data structures (Item and Hyper-edges)
Note: to seed the kbest extraction, each deduction should have the best_cost properly set. We do not require any list being sorted
| joshua.decoder.hypergraph.HyperGraph.HyperGraph | ( | HGNode | goalNode, |
| int | numNodes, | ||
| int | numEdges, | ||
| int | sentID, | ||
| int | sentLen | ||
| ) |
| static HyperGraph joshua.decoder.hypergraph.HyperGraph.mergeHyperGraphs | ( | List< HyperGraph > | hgs | ) | [static] |
| static HyperGraph joshua.decoder.hypergraph.HyperGraph.mergeTwoHyperGraphs | ( | HyperGraph | hg1, |
| HyperGraph | hg2 | ||
| ) | [static] |
final Logger joshua.decoder.hypergraph.HyperGraph.logger = Logger.getLogger(HyperGraph.class.getName()) [static, package] |