summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-06-30 23:35:49 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-06-30 23:35:49 +0000
commit05c3d9693fe1a7476cf81288c42f29d40bd813e4 (patch)
tree4ded104b9e45eaf4b9f47ee672f04757bfc98546
parentd8900e3e11b0cd31700a245310d099adda7a659f (diff)
timer for just forest rescoring
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@84 ec762483-ff6d-05da-a07a-a48fb63a330f
-rw-r--r--decoder/cdec.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/cdec.cc b/decoder/cdec.cc
index 2353cab3..5d0ac8b2 100644
--- a/decoder/cdec.cc
+++ b/decoder/cdec.cc
@@ -417,6 +417,7 @@ int main(int argc, char** argv) {
bool has_late_models = !late_models.empty();
if (has_late_models) {
+ Timer t("Forest rescoring:");
forest.Reweight(feature_weights);
forest.SortInEdgesByEdgeWeights();
Hypergraph lm_forest;