File size: 226 Bytes
158b61b
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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();
}