diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-26 23:52:02 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-26 23:52:02 +0300 |
commit | 533aff9d535757b1439e43bf01a5a9caa8e15259 (patch) | |
tree | bf7f5ab0d6eb079fbef0f6cb96927620aae43ebd /moses/ExportInterface.cpp | |
parent | d33893e7189a1554b286d50d74d62d3fe4a181aa (diff) | |
parent | b0e7d30fc6acd755c1c47b037ebc761b2d03929b (diff) |
Merge ../mosesdecoder into perf_moses2
Diffstat (limited to 'moses/ExportInterface.cpp')
-rw-r--r-- | moses/ExportInterface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/moses/ExportInterface.cpp b/moses/ExportInterface.cpp index a6d6a4290..64a66b319 100644 --- a/moses/ExportInterface.cpp +++ b/moses/ExportInterface.cpp @@ -86,6 +86,7 @@ SimpleTranslationInterface::SimpleTranslationInterface(const string &mosesIni): cerr << "Error; Cannot load parameters at " << mosesIni<<endl; exit(1); } + ResetUserTime(); if (!StaticData::LoadDataStatic(&m_params, mosesIni.c_str())) { cerr << "Error; Cannot load static data in file " << mosesIni<<endl; exit(1); @@ -321,6 +322,7 @@ int decoder_main(int argc, char const** argv) // initialize all "global" variables, which are stored in StaticData // note: this also loads models such as the language model, etc. + ResetUserTime(); if (!StaticData::LoadDataStatic(¶ms, argv[0])) exit(1); |