Joshua
open source statistical hierarchical phrase-based machine translation system
|
Static Public Member Functions | |
static String | extractViterbiString (HGNode node) |
static HyperGraph | getViterbiTreeHG (HyperGraph hg_in) |
static void | walk (HGNode node, WalkerFunction walker) |
Static Private Member Functions | |
static void | get1bestTreeNode (HGNode it) |
static HGNode | cloneNodeWithBestHyperedge (HGNode inNode) |
static HyperEdge | cloneHyperedge (HyperEdge inEdge) |
static HyperEdge joshua.decoder.hypergraph.ViterbiExtractor.cloneHyperedge | ( | HyperEdge | inEdge | ) | [static, private] |
static HGNode joshua.decoder.hypergraph.ViterbiExtractor.cloneNodeWithBestHyperedge | ( | HGNode | inNode | ) | [static, private] |
static String joshua.decoder.hypergraph.ViterbiExtractor.extractViterbiString | ( | HGNode | node | ) | [static] |
static void joshua.decoder.hypergraph.ViterbiExtractor.get1bestTreeNode | ( | HGNode | it | ) | [static, private] |
static HyperGraph joshua.decoder.hypergraph.ViterbiExtractor.getViterbiTreeHG | ( | HyperGraph | hg_in | ) | [static] |
static void joshua.decoder.hypergraph.ViterbiExtractor.walk | ( | HGNode | node, |
WalkerFunction | walker | ||
) | [static] |
This function recursively visits the nodes of the Viterbi derivation in a depth-first traversal, applying the walker to each of the nodes. It provides a more general framework for implementing operations on a tree.
node | the node to start traversal from |
walker | an implementation of the ViterbieWalker interface, to be applied to each node in the tree |