mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-10 10:59:21 +03:00
22 lines
315 B
C++
22 lines
315 B
C++
|
|
#include "NonTerminal.h"
|
|
|
|
using namespace std;
|
|
|
|
namespace Moses
|
|
{
|
|
std::ostream& operator<<(std::ostream &out, const NonTerminalSet &obj)
|
|
{
|
|
NonTerminalSet::const_iterator iter;
|
|
for (iter = obj.begin(); iter != obj.end(); ++iter) {
|
|
const Word &word = *iter;
|
|
out << word << " ";
|
|
}
|
|
|
|
|
|
return out;
|
|
}
|
|
|
|
|
|
}
|