summaryrefslogtreecommitdiff
path: root/fast/main.cc
blob: 9c6497671b54fa7621f4a83bea98ceff4be803bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "hypergraph.hh"


int
main(int argc, char** argv)
{
  Hg::Hypergraph hg;
  //Hg::io::manual(hg);
  Hg::io::read(hg, argv[1]);
  /*cout << "---" << endl;
  for (auto it = hg.nodes.begin(); it!=hg.nodes.end(); it++)
    cout << **it << endl;
  for (auto it = hg.edges.begin(); it!=hg.edges.end(); it++)
    cout << **it << endl;
  cout << "---" << endl;*/
  Hg::viterbi(hg);

  return 0;
}