mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-02 17:09:36 +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();
|
||
|
}
|