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 <fishandfrolick@gmail.com>2012-12-21 19:59:52 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-12-21 19:59:52 +0400
commit17898a9df3a211bcedbb0e17fe065af72d281f81 (patch)
tree3169dd3e6258bb9da9a5163ea5671d0175397590 /moses/Incremental.cpp
parentea647fc65895caa8cb8765fb02fbfa5546c9daf7 (diff)
move initialization and cleanup functions to staticData
Diffstat (limited to 'moses/Incremental.cpp')
-rw-r--r--moses/Incremental.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Incremental.cpp b/moses/Incremental.cpp
index 647b1d57d..74cb7cbc4 100644
--- a/moses/Incremental.cpp
+++ b/moses/Incremental.cpp
@@ -180,7 +180,7 @@ Manager::Manager(const InputType &source, const TranslationSystem &system) :
n_best_(search::NBestConfig(StaticData::Instance().GetNBestSize())) {}
Manager::~Manager() {
- system_.CleanUpAfterSentenceProcessing(source_);
+ StaticData::Instance().CleanUpAfterSentenceProcessing(source_);
}
template <class Model, class Best> search::History Manager::PopulateBest(const Model &model, const std::vector<lm::WordIndex> &words, Best &out) {