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:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-12-08 02:34:57 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-12-08 02:50:56 +0300
commitc1a008bf6dd00e65a93b813a9bb3472b68353916 (patch)
treea5d76a9b0c61a6ffd12aceef420389313e1d867c /moses/TranslationTask.cpp
parent0db3e544fd6f718ecbc4e774954f0a403d8d3ee1 (diff)
Reduce dependence on StaticData.
Diffstat (limited to 'moses/TranslationTask.cpp')
-rw-r--r--moses/TranslationTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/TranslationTask.cpp b/moses/TranslationTask.cpp
index 26897dc41..5191dd9a2 100644
--- a/moses/TranslationTask.cpp
+++ b/moses/TranslationTask.cpp
@@ -104,7 +104,7 @@ TranslationTask
else if (algo == SyntaxS2T) {
// new-style string-to-tree decoding (ask Phil Williams)
- S2TParsingAlgorithm algorithm = staticData.GetS2TParsingAlgorithm();
+ S2TParsingAlgorithm algorithm = options().syntax.s2t_parsing_algo; // staticData.GetS2TParsingAlgorithm();
if (algorithm == RecursiveCYKPlus) {
typedef Syntax::S2T::EagerParserCallback Callback;
typedef Syntax::S2T::RecursiveCYKPlusParser<Callback> Parser;