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:
MichaelAuli 2008-11-05 10:34:34 +00:00
parent df8fb77e7c
commit cf4f5018c5
2 changed files with 8 additions and 12 deletions

View File

@ -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();
}