|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
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< FeatureFunction > | featureFunctions |
| List< StateComputer > | stateComputers |
Do the combination, and prepare hyperedges
| joshua.decoder.chart_parser.ExhaustiveCombiner.ExhaustiveCombiner | ( | List< FeatureFunction > | featureFunctions, |
| List< StateComputer > | stateComputers | ||
| ) |
| 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.
| void joshua.decoder.chart_parser.ExhaustiveCombiner.addAxioms | ( | Chart | chart, |
| Cell | cell, | ||
| int | i, | ||
| int | j, | ||
| List< Rule > | rules, | ||
| SourcePath | srcPath | ||
| ) |
| 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.
| i | |
| j | |
| superItems | List of language model items |
| rules | |
| arity | Number of nonterminals |
| srcPath |
Implements joshua.decoder.chart_parser.Combiner.
List<StateComputer> joshua.decoder.chart_parser.ExhaustiveCombiner.stateComputers [private] |