summaryrefslogtreecommitdiff
path: root/src/fast_weaver.cc
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-01-14 19:14:06 +0100
committerPatrick Simianer <p@simianer.de>2015-01-14 19:14:06 +0100
commit02f4420f4d63708ca912e0e095dcfa528bf848dc (patch)
treee72b923b910594f3e0071b2603c6aa8b013f7202 /src/fast_weaver.cc
parenta1eea9655deea9a563a2ee13c82cd4545e182c7d (diff)
small changes
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 << " ";