mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-29 06:52:34 +03:00
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:
parent
c73d90c911
commit
766a0f95c0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user