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-26 23:52:02 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-11-26 23:52:02 +0300
commit533aff9d535757b1439e43bf01a5a9caa8e15259 (patch)
treebf7f5ab0d6eb079fbef0f6cb96927620aae43ebd /moses/ExportInterface.cpp
parentd33893e7189a1554b286d50d74d62d3fe4a181aa (diff)
parentb0e7d30fc6acd755c1c47b037ebc761b2d03929b (diff)
Merge ../mosesdecoder into perf_moses2
Diffstat (limited to 'moses/ExportInterface.cpp')
-rw-r--r--moses/ExportInterface.cpp2
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(&params, argv[0]))
exit(1);