allowing word in configuration of lexical reordering

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/hierarchical-reo@2761 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
sarst 2010-01-29 11:37:12 +00:00
parent c73d90c911
commit 766a0f95c0

View File

@ -38,7 +38,11 @@ namespace Moses {
phraseBased = false;
} else if (config[i] == "phrase") {
phraseBased = true;
} else if (config[i] == "msd") {
} else if (config[i] == "word") {
phraseBased = true;
// no word-based decoding available, fall-back to phrase-based
// This is the old lexical reordering model combination of moses
} else if (config[i] == "msd") {
mt = MSD;
} else if (config[i] == "mslr") {
mt = MSLR;