diff --git a/moses/src/TargetPhrase.cpp b/moses/src/TargetPhrase.cpp index 4da5bd579..143783258 100644 --- a/moses/src/TargetPhrase.cpp +++ b/moses/src/TargetPhrase.cpp @@ -293,8 +293,8 @@ TO_STRING_BODY(TargetPhrase); std::ostream& operator<<(std::ostream& os, const TargetPhrase& tp) { - os << static_cast(tp); - os << ", pC=" << tp.m_transScore << ", c=" << tp.m_fullScore; + os << static_cast(tp) << ":" << tp.GetAlignmentInfo(); + os << ": pC=" << tp.m_transScore << ", c=" << tp.m_fullScore; return os; }