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

List of all members.

Public Member Functions

 ExhaustiveCombiner (List< FeatureFunction > featureFunctions, List< StateComputer > stateComputers)
void combine (Chart chart, Cell cell, int i, int j, List< SuperNode > superItems, List< Rule > rules, int arity, SourcePath srcPath)
void addAxioms (Chart chart, Cell cell, int i, int j, List< Rule > rules, SourcePath srcPath)
void addAxiom (Chart chart, Cell cell, int i, int j, Rule rule, SourcePath srcPath)

Private Attributes

List< FeatureFunctionfeatureFunctions
List< StateComputer > stateComputers

Detailed Description

Do the combination, and prepare hyperedges


Constructor & Destructor Documentation

joshua.decoder.chart_parser.ExhaustiveCombiner.ExhaustiveCombiner ( List< FeatureFunction featureFunctions,
List< StateComputer >  stateComputers 
)

Member Function Documentation

void joshua.decoder.chart_parser.ExhaustiveCombiner.addAxiom ( Chart  chart,
Cell  cell,
int  i,
int  j,
Rule  rule,
SourcePath  srcPath 
)

Implements joshua.decoder.chart_parser.Combiner.

Here is the call graph for this function:

Here is the caller graph for this function:

void joshua.decoder.chart_parser.ExhaustiveCombiner.addAxioms ( Chart  chart,
Cell  cell,
int  i,
int  j,
List< Rule rules,
SourcePath  srcPath 
)

Implements joshua.decoder.chart_parser.Combiner.

Here is the call graph for this function:

void joshua.decoder.chart_parser.ExhaustiveCombiner.combine ( Chart  chart,
Cell  cell,
int  i,
int  j,
List< SuperNode superItems,
List< Rule rules,
int  arity,
SourcePath  srcPath 
)

Add complete Items in Chart, pruning inside this function.

Parameters:
i
j
superItemsList of language model items
rules
arityNumber of nonterminals
srcPath

Implements joshua.decoder.chart_parser.Combiner.

Here is the call graph for this function:


Member Data Documentation