|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
Classes | |
| class | ParaphraseRule |
| class | PreParaphraseRule |
| class | RuleBatch |
Static Public Member Functions | |
| static void | main (String[] args) throws NumberFormatException, IOException |
Static Protected Member Functions | |
| static String | adaptNonterminalMarkup (String nt, int index) |
| static String | adaptNonterminalMarkup (String nt) |
| static String | stripNonterminalMarkup (String nt) |
Static Private Attributes | |
| static final Logger | logger = Logger.getLogger(BuildParaphraseGrammar.class.getName()) |
| static boolean | HIERO_MODE = false |
| static double | MIN_COUNT = -Math.log(3.0) |
| static double | MIN_PROB = -Math.log(0.0001) |
| static int | TOP_K = 25 |
| static long | PRUNED_COUNT = 0 |
| static long | PRUNED_PROB = 0 |
| static long | PRUNED_TOP_K = 0 |
| static long | GENERATED = 0 |
Merges a sorted SAMT-format to-English translation grammar into a paraphrase grammar
| static String joshua.tools.BuildParaphraseGrammar.adaptNonterminalMarkup | ( | String | nt, |
| int | index | ||
| ) | [static, protected] |
| static String joshua.tools.BuildParaphraseGrammar.adaptNonterminalMarkup | ( | String | nt | ) | [static, protected] |
| static void joshua.tools.BuildParaphraseGrammar.main | ( | String[] | args | ) | throws NumberFormatException, IOException [static] |
Main method.
| args | names of the two grammars to be compared |
| IOException | |
| NumberFormatException |
| static String joshua.tools.BuildParaphraseGrammar.stripNonterminalMarkup | ( | String | nt | ) | [static, protected] |
long joshua.tools.BuildParaphraseGrammar.GENERATED = 0 [static, private] |
boolean joshua.tools.BuildParaphraseGrammar.HIERO_MODE = false [static, private] |
final Logger joshua.tools.BuildParaphraseGrammar.logger = Logger.getLogger(BuildParaphraseGrammar.class.getName()) [static, private] |
Logger for this class.
double joshua.tools.BuildParaphraseGrammar.MIN_COUNT = -Math.log(3.0) [static, private] |
double joshua.tools.BuildParaphraseGrammar.MIN_PROB = -Math.log(0.0001) [static, private] |
long joshua.tools.BuildParaphraseGrammar.PRUNED_COUNT = 0 [static, private] |
long joshua.tools.BuildParaphraseGrammar.PRUNED_PROB = 0 [static, private] |
long joshua.tools.BuildParaphraseGrammar.PRUNED_TOP_K = 0 [static, private] |
int joshua.tools.BuildParaphraseGrammar.TOP_K = 25 [static, private] |