summaryrefslogtreecommitdiff
path: root/decoder/hg.cc
diff options
context:
space:
mode:
authorChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2014-04-09 20:20:13 -0400
committerChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2014-04-09 20:20:13 -0400
commit6f6c219c5fe032869d8f2235726fb3b9b38c4354 (patch)
treead77d662db1af40c5e0d95ec5d64a1c9326ff485 /decoder/hg.cc
parent74401769fdb8b16f44df8911070b7ae091de5fef (diff)
parent5f3ec63bf30459d97ad9e61d4e9b3b734a4867bf (diff)
Merge branch 'master' of github.com:redpony/cdec
Diffstat (limited to 'decoder/hg.cc')
-rw-r--r--decoder/hg.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/hg.cc b/decoder/hg.cc
index 405169c6..e456fa7c 100644
--- a/decoder/hg.cc
+++ b/decoder/hg.cc
@@ -396,6 +396,7 @@ void Hypergraph::PrintGraphviz() const {
for (const auto& node : nodes_) {
cerr << " " << node.id_ << "[label=\"" << (node.cat_ < 0 ? TD::Convert(node.cat_ * -1) : "")
<< " n=" << node.id_
+ << " h=" << node.node_hash
<< "\"];\n";
}
cerr << "}\n";