mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 22:14:57 +03:00
word alignment info for hiero grammar
This commit is contained in:
parent
69fc00faf9
commit
fa56d7861f
@ -550,6 +550,10 @@ void outputPhrasePair(const PhraseAlignmentCollection &phrasePair, float totalCo
|
||||
int sourcePos = *(bestAlignment->alignedToT[ j ].begin());
|
||||
phraseTableFile << sourcePos << "-" << j << " ";
|
||||
}
|
||||
else if (wordAlignmentFlag) {
|
||||
int sourcePos = *(bestAlignment->alignedToT[ j ].begin());
|
||||
phraseTableFile << sourcePos << "-" << j << " ";
|
||||
}
|
||||
}
|
||||
} else if (wordAlignmentFlag) {
|
||||
// alignment info in pb model
|
||||
|
Loading…
Reference in New Issue
Block a user