diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-05 19:20:12 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-05 19:20:12 +0000 |
commit | 0ca82ab8d0037103600d97f50a1a0ec506a18fd6 (patch) | |
tree | 01f1a07e52f17ab5337550fdff8d22d3b6aa1a00 /decoder/cdec.cc | |
parent | ebbc74b76ac31db44e04e735b19b0119bc822d92 (diff) |
report features used in prelm pruning
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@137 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/cdec.cc')
-rw-r--r-- | decoder/cdec.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/decoder/cdec.cc b/decoder/cdec.cc index 4853adfb..c940fdac 100644 --- a/decoder/cdec.cc +++ b/decoder/cdec.cc @@ -353,7 +353,7 @@ int main(int argc, char** argv) { if (nbyte==0) prelm_ffs.push_back(p); else - cerr << "State required for feature: "<<ff<<" is "<<nbyte<<" - leaving it out of prelm pruning."<<endl; + cerr << "Excluding stateful feature from prelm pruning: "<<ff<<" - state is "<<nbyte<<" bytes."<<endl; } } } @@ -454,6 +454,7 @@ int main(int argc, char** argv) { if (has_prelm_models) { ModelSet prelm_models(prelm_feature_weights, prelm_ffs); + cerr << "Rescoring with rule probabilities and "<<prelm_ffs.size()<<" 0-state feature functions. +LM pass will use "<<late_ffs.size()<<" features."<<endl; Timer t("prelm rescoring"); forest.Reweight(prelm_feature_weights); forest.SortInEdgesByEdgeWeights(); |