Welcome to mirror list, hosted at ThFree Co, Russian Federation.

NonTerminal.cpp « moses - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b51edcd549a95aae6e946f65ec63d3077b7806f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

#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;
}


}