diff options
author | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2015-05-11 02:34:24 +0300 |
---|---|---|
committer | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2015-05-11 02:34:24 +0300 |
commit | 7da7ce52dab34fda4f2fcae2b37a7696eb773b2c (patch) | |
tree | 05e607e4d26e2dbb819a2214eb16406cace77500 /moses/Parameter.cpp | |
parent | db5ccff364508f9348b2d20d6ac57bc9da38bedf (diff) |
Added context buffering in IOWrapper for context-sensitive decoding.
Unfortunately, this seems to slow things down quite a bit.
Diffstat (limited to 'moses/Parameter.cpp')
-rw-r--r-- | moses/Parameter.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/moses/Parameter.cpp b/moses/Parameter.cpp index d47aca040..2f04e90d3 100644 --- a/moses/Parameter.cpp +++ b/moses/Parameter.cpp @@ -240,7 +240,10 @@ Parameter::Parameter() AddParam(misc_opts,"feature-name-overwrite", "Override feature name (NOT arguments). Eg. SRILM-->KENLM, PhraseDictionaryMemory-->PhraseDictionaryScope3"); AddParam(misc_opts,"feature", "All the feature functions should be here"); - AddParam(misc_opts,"context-string", "A (tokenized) string containing context words for context-sensitive translation."); + AddParam(misc_opts,"context-string", + "A (tokenized) string containing context words for context-sensitive translation."); + AddParam(misc_opts,"context-window", + "Context window (in words) for context-sensitive translation: {+|-|+-}<number>."); // Compact phrase table and reordering table. po::options_description cpt_opts("Options when using compact phrase and reordering tables."); |