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
commit1c910fb89ee11f47c3ab22e3e6c66546accabc86 (patch)
tree33268af723c62c642cd287f644d67e108f5dd6fc /decoder/hg.h
parent4cea650dce26e983c310aee5e50ce0987b1c26fc (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);