diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-08 02:34:57 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-08 02:50:56 +0300 |
commit | c1a008bf6dd00e65a93b813a9bb3472b68353916 (patch) | |
tree | a5d76a9b0c61a6ffd12aceef420389313e1d867c /moses/TranslationTask.cpp | |
parent | 0db3e544fd6f718ecbc4e774954f0a403d8d3ee1 (diff) |
Reduce dependence on StaticData.
Diffstat (limited to 'moses/TranslationTask.cpp')
-rw-r--r-- | moses/TranslationTask.cpp | 2 |
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; |