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:
hieuhoang1972 2010-05-07 19:33:39 +00:00
parent fd4851f15d
commit e67670ad5b

View File

@ -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;
}