Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarry Haddow <barry.haddow@gmail.com>2014-08-08 16:45:34 +0400
committerBarry Haddow <barry.haddow@gmail.com>2014-08-08 16:45:34 +0400
commita299bb1943a72978c26d267c8bddad874750537a (patch)
tree06c9ac0a6c935919dc98618c2a92d11ef571773d /mert/ForestRescore.cpp
parentb5a1f02606f83209e0a1fe771f329cb9eedcef57 (diff)
Fix hypergraph pruning
Diffstat (limited to 'mert/ForestRescore.cpp')
-rw-r--r--mert/ForestRescore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/ForestRescore.cpp b/mert/ForestRescore.cpp
index 0d8653e4b..0172c6d92 100644
--- a/mert/ForestRescore.cpp
+++ b/mert/ForestRescore.cpp
@@ -315,7 +315,7 @@ typedef pair<const Edge*,FeatureStatsType> BackPointer;
**/
static void GetBestHypothesis(size_t vertexId, const Graph& graph, const vector<BackPointer>& bps,
HgHypothesis* bestHypo) {
- //cerr << "Expanding " << vertexId << endl;
+ //cerr << "Expanding " << vertexId << " Score: " << bps[vertexId].second << endl;
//UTIL_THROW_IF(bps[vertexId].second == kMinScore+1, HypergraphException, "Landed at vertex " << vertexId << " which is a dead end");
if (!bps[vertexId].first) return;
const Edge* prevEdge = bps[vertexId].first;