mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-20 23:58:15 +03:00
Fixed bug with dub option.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@1873 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
5dee5d04aa
commit
7a0e5811ba
@ -118,7 +118,7 @@ bool LanguageModelIRST::Load(const std::string &filePath,
|
||||
m_lmtb->init_statecache();
|
||||
m_lmtb->init_lmtcaches(m_lmtb->maxlevel()>2?m_lmtb->maxlevel()-1:2);
|
||||
|
||||
m_lmtb->setlogOOVpenalty(m_lmtb_dub);
|
||||
if (m_lmtb_dub >0) m_lmtb->setlogOOVpenalty(m_lmtb_dub);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user