mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
15 lines
226 B
C++
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();
|
|
}
|