mosesdecoder/phrase-extract/extract-mixed-syntax/Phrase.cpp
2015-01-15 11:18:39 +00:00

15 lines
226 B
C++

#include <sstream>
#include "Phrase.h"
std::string Phrase::Debug() const
{
std::stringstream out;
for (size_t i = 0; i < size(); ++i) {
Word &word = *at(i);
out << word.Debug() << " ";
}
return out.str();
}