diff options
author | XapaJIaMnu <nheart@gmail.com> | 2015-06-23 15:24:42 +0300 |
---|---|---|
committer | XapaJIaMnu <nheart@gmail.com> | 2015-06-23 15:24:42 +0300 |
commit | aaf8397d6f11c4039f06b3f6089c402e0cbea54b (patch) | |
tree | 9ea9dcc8e9af879ed4722a95faafd9641b8be32a /moses/BaseManager.cpp | |
parent | 2a242afa346b70a6c8dc22522349300b6d28e563 (diff) |
Make it possible for TranslationTasks to be accessed by the LM
Diffstat (limited to 'moses/BaseManager.cpp')
-rw-r--r-- | moses/BaseManager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/moses/BaseManager.cpp b/moses/BaseManager.cpp index ce1a5c5d9..609a6e9f5 100644 --- a/moses/BaseManager.cpp +++ b/moses/BaseManager.cpp @@ -27,6 +27,11 @@ BaseManager::GetSource() const return m_source; } +const ttasksptr& +BaseManager::GetTtask() const { + return m_ttask.lock(); +} + void BaseManager:: OutputSearchGraphAsHypergraph(std::ostream& out) const |