|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
Public Member Functions | |
| void | addAxiom (Chart chart, Cell cell, int i, int j, Rule rule, SourcePath srcPath) |
| void | addAxioms (Chart chart, Cell cell, int i, int j, List< Rule > rules, SourcePath srcPath) |
| void | combine (Chart chart, Cell cell, int i, int j, List< SuperNode > superNodes, List< Rule > rules, int arity, SourcePath srcPath) |
given a list of rules and antecedents this class combine these and create new constituents (or hyperedges), possibly with pruning
| void joshua.decoder.chart_parser.Combiner.addAxiom | ( | Chart | chart, |
| Cell | cell, | ||
| int | i, | ||
| int | j, | ||
| Rule | rule, | ||
| SourcePath | srcPath | ||
| ) |
| void joshua.decoder.chart_parser.Combiner.addAxioms | ( | Chart | chart, |
| Cell | cell, | ||
| int | i, | ||
| int | j, | ||
| List< Rule > | rules, | ||
| SourcePath | srcPath | ||
| ) |
Implemented in joshua.decoder.chart_parser.ExhaustiveCombiner, and joshua.decoder.chart_parser.CubePruneCombiner.
| void joshua.decoder.chart_parser.Combiner.combine | ( | Chart | chart, |
| Cell | cell, | ||
| int | i, | ||
| int | j, | ||
| List< SuperNode > | superNodes, | ||
| List< Rule > | rules, | ||
| int | arity, | ||
| SourcePath | srcPath | ||
| ) |
Implemented in joshua.decoder.chart_parser.CubePruneCombiner, and joshua.decoder.chart_parser.ExhaustiveCombiner.