summaryrefslogtreecommitdiff
path: root/src/fast_weaver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fast_weaver.cc')
-rw-r--r--src/fast_weaver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fast_weaver.cc b/src/fast_weaver.cc
index 4854476..81740e5 100644
--- a/src/fast_weaver.cc
+++ b/src/fast_weaver.cc
@@ -9,10 +9,10 @@ main(int argc, char** argv)
G::Grammar g;
Hg::io::read(hg, g.rules, y, argv[1]);
//Hg::io::manual(hg, g.rules);
- clock_t begin = clock();
Hg::Path p;
Hg::viterbi_path(hg, p);
vector<string> s;
+ clock_t begin = clock();
Hg::derive(p, p.back()->head, s);
for (auto it: s)
cout << it << " ";