mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 19:27:11 +03:00
undo translationoption changes
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/auli_constraint@1936 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
df8fb77e7c
commit
cf4f5018c5
@ -86,15 +86,11 @@ void Manager::ProcessSentence()
|
||||
const vector <DecodeGraph*>
|
||||
&decodeStepVL = staticData.GetDecodeStepVL();
|
||||
|
||||
long sentenceID = m_source.GetTranslationId();
|
||||
m_constraint = staticData.GetConstrainingPhrase(sentenceID);
|
||||
|
||||
// create list of all possible translations
|
||||
// this is only valid if:
|
||||
// 1. generation of source sentence is not done 1st
|
||||
// 2. initial hypothesis factors are given in the sentence
|
||||
//CreateTranslationOptions(m_source, phraseDictionary, lmListInitial);
|
||||
// m_transOptColl->CreateTranslationOptions(decodeStepVL, m_constraint);
|
||||
m_transOptColl->CreateTranslationOptions(decodeStepVL);
|
||||
m_search->ProcessSentence();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user