diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-11 16:52:42 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-11 16:52:42 +0300 |
commit | 4b5466bcfe9448c1ace98800de7d4083f08e9e3c (patch) | |
tree | 79b24eced1211cce6cbc697573f15e30fc7c5270 /moses/ExportInterface.cpp | |
parent | 05741aa7239fa322d05e12b0556fb0c47704a015 (diff) |
move printFF out of Parameter class
Diffstat (limited to 'moses/ExportInterface.cpp')
-rw-r--r-- | moses/ExportInterface.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/moses/ExportInterface.cpp b/moses/ExportInterface.cpp index a82736351..8384b0eac 100644 --- a/moses/ExportInterface.cpp +++ b/moses/ExportInterface.cpp @@ -316,8 +316,10 @@ int decoder_main(int argc, char** argv) // load all the settings into the Parameter class // (stores them as strings, or array of strings) - if (!params.LoadParam(argc,argv)) - exit(1); + if (!params.LoadParam(argc,argv)) { + StaticData::Instance().PrintFF(); + exit(1); + } // initialize all "global" variables, which are stored in StaticData // note: this also loads models such as the language model, etc. |