summaryrefslogtreecommitdiff
path: root/decoder/hg_intersect.cc
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2014-05-08 20:23:42 -0400
committerChris Dyer <redpony@gmail.com>2014-05-08 20:23:42 -0400
commit0f087998860585e157641ce7bcf3c190e3e43d7c (patch)
tree8a0667e5f20ec0f80cd3cfcb765717148472772b /decoder/hg_intersect.cc
parente027ec43dad0fa2bd9d2d7161ec0355bc1641178 (diff)
parent260af5469061d1086a566cebd5f0a8750a654212 (diff)
Merge branch 'master' of https://github.com/redpony/cdec
Diffstat (limited to 'decoder/hg_intersect.cc')
-rw-r--r--decoder/hg_intersect.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/hg_intersect.cc b/decoder/hg_intersect.cc
index 31a9a1ce..02f5a401 100644
--- a/decoder/hg_intersect.cc
+++ b/decoder/hg_intersect.cc
@@ -92,7 +92,7 @@ bool Intersect(const Lattice& target, Hypergraph* hg) {
return FastLinearIntersect(target, hg);
vector<bool> rem(hg->edges_.size(), false);
- const RuleFilter filter(target, 15); // TODO make configurable
+ const RuleFilter filter(target, 9999); // TODO make configurable
for (unsigned i = 0; i < rem.size(); ++i)
rem[i] = filter(*hg->edges_[i].rule_);
hg->PruneEdges(rem, true);