summaryrefslogtreecommitdiff
path: root/decoder/hg.cc
diff options
context:
space:
mode:
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 11dd6f44..7fc9643d 100644
--- a/decoder/hg.cc
+++ b/decoder/hg.cc
@@ -204,6 +204,7 @@ void Hypergraph::DensityPruneInsideOutside(const double scale,
const int plen = ViterbiPathLength(*this);
vector<WordID> bp;
int rnum = min(static_cast<int>(edges_.size()), static_cast<int>(density * static_cast<double>(plen)));
+ cerr << "Density pruning: keep "<<rnum<<" of "<<edges_.size()<<" edges (viterbi = "<<plen<<" edges)"<<endl;
if (rnum == edges_.size()) {
cerr << "No pruning required: denisty already sufficient";
return;