diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-12 03:42:47 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-12 03:42:47 +0000 |
commit | 7b9c1f91e594c4b7783c72e4516d59d60a04dc91 (patch) | |
tree | 2f5ba51f612ff0c1e424e53d44a9c71474182a8f /decoder/apply_models.cc | |
parent | 11980f43455a85f31f2941f570f9a3a1ff925408 (diff) |
DEBUG_PROMISE - looks ok
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@220 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/apply_models.cc')
-rw-r--r-- | decoder/apply_models.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/decoder/apply_models.cc b/decoder/apply_models.cc index 4093f667..240bd12b 100644 --- a/decoder/apply_models.cc +++ b/decoder/apply_models.cc @@ -414,8 +414,9 @@ void ApplyModelSet(const Hypergraph& in, ma.Apply(); } else if (config.algorithm == 1) { int pl = config.pop_limit; - if (pl > 100 && in.nodes_.size() > 80000) { - pl = 30; + const int max_pl_for_large=50; + if (pl > max_pl_for_large && in.nodes_.size() > 80000) { + pl = max_pl_for_large; cerr << " Note: reducing pop_limit to " << pl << " for very large forest\n"; } CubePruningRescorer ma(models, smeta, in, pl, out); |