summaryrefslogtreecommitdiff
path: root/decoder/hg.h
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-06-24 22:35:50 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-06-24 22:35:50 +0000
commit5d661b49dab6e0e3620efbd4e45a2ed53d04232c (patch)
tree9fd881a62c8211c5917834bb404047d4dc56fd08 /decoder/hg.h
parented704ce2e0ec5ebb64a07c68f977a830a8e7d161 (diff)
build on cygwin
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@23 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/hg.h')
-rw-r--r--decoder/hg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/hg.h b/decoder/hg.h
index 8d056358..50c9048a 100644
--- a/decoder/hg.h
+++ b/decoder/hg.h
@@ -168,6 +168,7 @@ class Hypergraph {
// case. To investigate, change false to true and see where ftrans crashes
void PruneEdges(const std::vector<bool>& prune_edge, bool run_inside_algorithm = false);
+ // for density>=1.0, keep this many times the edges needed for the 1best derivation
// if you don't know, use_sum_prod_semiring should be false
void DensityPruneInsideOutside(const double scale, const bool use_sum_prod_semiring, const double density,
const std::vector<bool>* preserve_mask = NULL);