Getting rid of dictionary id

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@53 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
hieuhoang1972 2006-07-11 16:37:30 +00:00
parent 7868738a9d
commit fcb0a8f1e7

View File

@ -187,7 +187,7 @@ void Hypothesis::MergeFactors(vector< const Word* > mergeWords, const Generation
// score
m_score[ScoreType::Generation] += generationScore * weight;
#ifdef N_BEST
m_generationScoreComponent[generationDictionary] += generationScore;
m_generationScoreComponent[(size_t) &generationDictionary] += generationScore;
#endif
}