mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-10 10:59:21 +03:00
merge
This commit is contained in:
parent
5cbfcacccc
commit
87c346654e
@ -151,8 +151,8 @@ void PhraseDictionaryMemory::GetTargetPhraseCollectionBatch(const InputPathList
|
||||
|
||||
const PhraseDictionaryNodeMemory *ptNode = prevPtNode->GetChild(lastWord);
|
||||
if (ptNode) {
|
||||
const TargetPhraseCollection *targetPhrases = ptNode->GetTargetPhraseCollection();
|
||||
node.SetTargetPhrases(*this, targetPhrases, ptNode);
|
||||
const TargetPhraseCollection &targetPhrases = ptNode->GetTargetPhraseCollection();
|
||||
node.SetTargetPhrases(*this, &targetPhrases, ptNode);
|
||||
} else {
|
||||
node.SetTargetPhrases(*this, NULL, NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user