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-01-02 21:40:15 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-01-02 21:40:15 +0300
commit0552a79b1e0c163d9adc042a5f83cdfdc1d20f84 (patch)
tree91150f79d0a7232ff4f501709d98017d91d21e06 /contrib
parent1ff52ebb0ec1acf8085e93622721dbb8fc7bff7d (diff)
consistent constructor for all managers
Diffstat (limited to 'contrib')
-rw-r--r--contrib/server/mosesserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/server/mosesserver.cpp b/contrib/server/mosesserver.cpp
index 93236fb44..6819cbeaa 100644
--- a/contrib/server/mosesserver.cpp
+++ b/contrib/server/mosesserver.cpp
@@ -301,7 +301,7 @@ public:
inputFactorOrder = staticData.GetInputFactorOrder();
stringstream in(source + "\n");
sentence.Read(in,inputFactorOrder);
- Manager manager(sentence, staticData.GetSearchAlgorithm());
+ Manager manager(sentence);
manager.Decode();
const Hypothesis* hypo = manager.GetBestHypothesis();