mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 14:32:38 +03:00
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:
parent
7868738a9d
commit
fcb0a8f1e7
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user