| default_non_terminal = X |
| goal_symbol = GOAL |
| mark_oovs = false |
| pop_limit = 100 |
| top_n = 300 |
| use_unique_nbest = true |
| output_format = %s |
| include_align_index = false |
| search_algorithm = stack |
| |
| feature_functions = [ |
| { class = StateMinimizingLanguageModel, lm_type = kenlm, lm_order = 5, lm_file = src/test/resources/phrase_decoder/lm.1.gz } |
| { class = OOVPenalty } |
| { class = WordPenalty } |
| { class = Distortion } |
| { class = PhrasePenalty } |
| ] |
| |
| grammars = [ |
| { class = PhraseTable, owner = pt, span_limit = 0, path = src/test/resources/phrase_decoder/rules.1.gz } |
| ] |
| |
| weights = { |
| Distortion = 1.0 |
| OOVPenalty = 1.0 |
| PhrasePenalty = 1.0 |
| WordPenalty = -2.844814 |
| lm_0 = 1.0 |
| pt_0 = 1.0 |
| pt_1 = 1.0 |
| pt_2 = 1.0 |
| pt_3 = 1.0 |
| } |