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-08-06 02:51:02 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-08-06 23:11:43 +0300
commit524109e2cabe5bd3ac693d3187e439885484a8c7 (patch)
treeed0bf9862bc6a50c327dd235efe3a038d2b0b2e2 /moses/BaseManager.h
parentfc10ad4afb812200d7529256797a10438cfaf1f3 (diff)
Reorganisation of options.
The purpose of this effort is to have options local to the individual translation task, so that they can be changed in the running system in a multi-threaded system.
Diffstat (limited to 'moses/BaseManager.h')
-rw-r--r--moses/BaseManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/BaseManager.h b/moses/BaseManager.h
index f4c7eeff2..ed9ccaffb 100644
--- a/moses/BaseManager.h
+++ b/moses/BaseManager.h
@@ -5,7 +5,7 @@
#include <string>
#include "ScoreComponentCollection.h"
#include "InputType.h"
-
+#include "moses/parameters/AllOptions.h"
namespace Moses
{
class ScoreComponentCollection;
@@ -51,6 +51,7 @@ public:
//! the input sentence being decoded
const InputType& GetSource() const;
const ttasksptr GetTtask() const;
+ AllOptions const& options() const;
virtual void Decode() = 0;
// outputs