diff options
author | Eva Hasler <ehasler@saxnot.inf.ed.ac.uk> | 2012-04-06 22:42:16 +0400 |
---|---|---|
committer | Eva Hasler <ehasler@saxnot.inf.ed.ac.uk> | 2012-04-06 22:42:16 +0400 |
commit | 1e2d9e06951ab2da01e0b9f01c13fadf43c3173a (patch) | |
tree | e8ec6177504838e2502a8247586db99363f7d5af /mira | |
parent | 96642447aa8cda377dc93435ec78a654af200c60 (diff) |
trim decoder settings to avoid parse errors
Diffstat (limited to 'mira')
-rw-r--r-- | mira/Main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mira/Main.cpp b/mira/Main.cpp index 219da1d3e..77a8ae40f 100644 --- a/mira/Main.cpp +++ b/mira/Main.cpp @@ -388,6 +388,7 @@ int main(int argc, char** argv) { // initialise Moses // add initial Bleu weight and references to initialize Bleu feature + boost::trim(decoder_settings); decoder_settings += " -weight-bl 1 -references"; if (trainWithMultipleFolds) { decoder_settings += " "; |