Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
joshua.decoder.ff.tm.Grammar Member List
This is the complete list of members for joshua.decoder.ff.tm.Grammar, including all inherited members.
changeGrammarCosts(Map< String, Double > weightTbl, HashMap< String, Integer > featureMap, double[] scores, String prefix, int column, boolean negate)joshua.decoder.ff.tm.Grammar
constructLabeledOOVRule(int num_feats, int source_word, int target_word, int lhs, boolean use_max_lm_cost)joshua.decoder.ff.tm.Grammar
constructManualRule(int lhs, int[] sourceWords, int[] targetWords, float[] scores, int aritity)joshua.decoder.ff.tm.Grammar
constructOOVRule(int num_feats, int source_word, int target_word, boolean use_max_lm_cost)joshua.decoder.ff.tm.Grammar
getNumRules()joshua.decoder.ff.tm.Grammar
getOOVRuleID()joshua.decoder.ff.tm.Grammar
getTrieRoot()joshua.decoder.ff.tm.Grammar
hasRuleForSpan(int startIndex, int endIndex, int pathLength)joshua.decoder.ff.tm.Grammar
isSorted()joshua.decoder.ff.tm.Grammar
obtainRulesIDTable(Map< String, Integer > rulesIDTable)joshua.decoder.ff.tm.Grammar
sortGrammar(List< FeatureFunction > models)joshua.decoder.ff.tm.Grammar
writeGrammarOnDisk(String file)joshua.decoder.ff.tm.Grammar