mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 22:45:50 +03:00
add alignment info for -T output
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@3240 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
fd4851f15d
commit
e67670ad5b
@ -293,8 +293,8 @@ TO_STRING_BODY(TargetPhrase);
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, const TargetPhrase& tp)
|
||||
{
|
||||
os << static_cast<const Phrase&>(tp);
|
||||
os << ", pC=" << tp.m_transScore << ", c=" << tp.m_fullScore;
|
||||
os << static_cast<const Phrase&>(tp) << ":" << tp.GetAlignmentInfo();
|
||||
os << ": pC=" << tp.m_transScore << ", c=" << tp.m_fullScore;
|
||||
|
||||
return os;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user