summaryrefslogtreecommitdiff
path: root/decoder
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
commitd138cac2954d1c9fa2547608f9f340ee5f6fb3ec (patch)
treea6cf905893ad21cf9914b1fa2c20a2a7d902a38a /decoder
parentdd1eb939f66d82fe694317d7cd3de1e9a48effd6 (diff)
timer for just forest rescoring
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@84 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder')
-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;