Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
joshua.decoder.hypergraph.ViterbiExtractor Class Reference

List of all members.

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)

Detailed Description


Member Function Documentation

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

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.

Parameters:
nodethe node to start traversal from
walkeran implementation of the ViterbieWalker interface, to be applied to each node in the tree

Here is the call graph for this function: