mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-30 23:42:30 +03:00
15 lines
218 B
C++
15 lines
218 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();
|
|
}
|