Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-11-11 16:52:42 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-11-11 16:52:42 +0300
commit4b5466bcfe9448c1ace98800de7d4083f08e9e3c (patch)
tree79b24eced1211cce6cbc697573f15e30fc7c5270 /moses/ExportInterface.cpp
parent05741aa7239fa322d05e12b0556fb0c47704a015 (diff)
move printFF out of Parameter class
Diffstat (limited to 'moses/ExportInterface.cpp')
-rw-r--r--moses/ExportInterface.cpp6
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.