mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-08 20:46:59 +03:00
Merge branch 'master' of git://github.com/moses-smt/mosesdecoder
This commit is contained in:
commit
3e1ddaf719
@ -465,7 +465,8 @@ FFState* BilingualLM::EvaluateWhenApplied(
|
||||
}
|
||||
size_t new_state = getStateChart(neuralLMids);
|
||||
|
||||
accumulator->Assign(this, value);
|
||||
accumulator->PlusEquals(this, -accumulator->GetScoreForProducer(this));
|
||||
accumulator->PlusEquals(this, value);
|
||||
|
||||
return new BilingualLMState(new_state, alignments, neuralLMids);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user