Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
joshua.decoder.chart_parser.ComputeNodeResult Class Reference
Collaboration diagram for joshua.decoder.chart_parser.ComputeNodeResult:
[legend]

List of all members.

Public Member Functions

 ComputeNodeResult (List< FeatureFunction > featureFunctions, Rule rule, List< HGNode > antNodes, int i, int j, SourcePath srcPath, List< StateComputer > stateComputers, int sentID)
double getExpectedTotalLogP ()
void printInfo ()

Static Public Member Functions

static double computeCombinedTransitionLogP (List< FeatureFunction > featureFunctions, HyperEdge edge, int i, int j, int sentID)
static double computeCombinedTransitionLogP (List< FeatureFunction > featureFunctions, Rule rule, List< HGNode > antNodes, int i, int j, SourcePath srcPath, int sentID)
static double[] computeModelTransitionLogPs (List< FeatureFunction > featureFunctions, HyperEdge edge, int i, int j, int sentID)
static double[] computeModelTransitionLogPs (List< FeatureFunction > featureFunctions, Rule rule, List< HGNode > antNodes, int i, int j, SourcePath srcPath, int sentID)

Package Functions

void setExpectedTotalLogP (double logP)
void setFinalizedTotalLogP (double logP)
double getFinalizedTotalLogP ()
void setTransitionTotalLogP (double logP)
double getTransitionTotalLogP ()
void setDPStates (TreeMap< Integer, DPState > states)
TreeMap< Integer, DPStategetDPStates ()

Private Attributes

double expectedTotalLogP
double finalizedTotalLogP
double transitionTotalLogP
TreeMap< Integer, DPStatedpStates

Detailed Description

Author:
Zhifei Li, zhife.nosp@m.i.wo.nosp@m.rk@gm.nosp@m.ail..nosp@m.com
Version:
LastChangedDate:
2009-12-22 14:00:36 -0500

Constructor & Destructor Documentation

joshua.decoder.chart_parser.ComputeNodeResult.ComputeNodeResult ( List< FeatureFunction featureFunctions,
Rule  rule,
List< HGNode antNodes,
int  i,
int  j,
SourcePath  srcPath,
List< StateComputer >  stateComputers,
int  sentID 
)

Compute logPs and the states of the node


Member Function Documentation

static double joshua.decoder.chart_parser.ComputeNodeResult.computeCombinedTransitionLogP ( List< FeatureFunction featureFunctions,
HyperEdge  edge,
int  i,
int  j,
int  sentID 
) [static]

Here is the call graph for this function:

Here is the caller graph for this function:

static double joshua.decoder.chart_parser.ComputeNodeResult.computeCombinedTransitionLogP ( List< FeatureFunction featureFunctions,
Rule  rule,
List< HGNode antNodes,
int  i,
int  j,
SourcePath  srcPath,
int  sentID 
) [static]
static double [] joshua.decoder.chart_parser.ComputeNodeResult.computeModelTransitionLogPs ( List< FeatureFunction featureFunctions,
HyperEdge  edge,
int  i,
int  j,
int  sentID 
) [static]

Here is the call graph for this function:

Here is the caller graph for this function:

static double [] joshua.decoder.chart_parser.ComputeNodeResult.computeModelTransitionLogPs ( List< FeatureFunction featureFunctions,
Rule  rule,
List< HGNode antNodes,
int  i,
int  j,
SourcePath  srcPath,
int  sentID 
) [static]

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

void joshua.decoder.chart_parser.ComputeNodeResult.setDPStates ( TreeMap< Integer, DPState states) [package]

Member Data Documentation