diff options
-rw-r--r-- | decoder/ff_factory.cc | 2 | ||||
-rwxr-xr-x | decoder/ff_from_fsa.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/decoder/ff_factory.cc b/decoder/ff_factory.cc index 5a207ea9..aec82d38 100644 --- a/decoder/ff_factory.cc +++ b/decoder/ff_factory.cc @@ -39,7 +39,7 @@ shared_ptr<FeatureFunction> FFRegistry::Create(const string& ffname, const strin (p.size()==pl || (space=(p[pl]==' '))); if (debug) { p.erase(0,debug_pre.size()+space); - cerr<<"debug enabled for "<<ffname<< " - rest of param='"<<p<<"'\n"; + cerr<<"debug enabled for "<<ffname<< " - remaining options: '"<<p<<"'\n"; } res = it->second->Create(p); res->name=ffname; diff --git a/decoder/ff_from_fsa.h b/decoder/ff_from_fsa.h index 51d89376..75b99f52 100755 --- a/decoder/ff_from_fsa.h +++ b/decoder/ff_from_fsa.h @@ -28,6 +28,7 @@ class FeatureFunctionFromFsa : public FeatureFunction { typedef WordID const* WP; public: FeatureFunctionFromFsa(std::string const& param) : ff(param) { + debug=true; // because factory won't set until after we construct. FSAFFDBG(ff.name()<<" params="<<param<<" calling Init: "); Init(); } |