blob: 47a7715484591ad4aa4e428672ae42f6d904f81e [file] [log] [blame]
num_translation_options = 3
mark_oovs = false
default_non_terminal = X
goalSymbol = GOAL
pop_limit = 100
output_format = %c ||| %s ||| %f
use_unique_nbest = true
top_n = 5
feature_functions = [
{ class = LanguageModel, lm_type = kenlm, lm_order = 5, lm_file = src/test/resources/decoder/num_translation_options/lm.gz }
{ class = WordPenalty }
{ class = OOVPenalty }
]
grammars = [
{ class = PackedGrammar, owner = pt, span_limit = 12, rule_cache_size=${default_packed_grammar_cache_size}, path = src/test/resources/decoder/num_translation_options/grammar.packed }
{ class = TextGrammar, owner = glue, span_limit = -1, path = src/test/resources/decoder/num_translation_options/glue-grammar }
]
weights = {
OOVPenalty = 1.0
WordPenalty = 1
glue_0 = -1
lm_0 = 1.2373676802179452
pt_0 = -1
}