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 <hieu@hoang.co.uk>2013-07-31 19:27:08 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-31 19:27:08 +0400
commitf13bcf74cfc130c2cb54f8f0734166abdf62e368 (patch)
tree352e9c9cac5786aa8e38fc63975d35a431aced5c /moses/ChartRuleLookupManager.cpp
parentbb1f49e10c17ba2a137e3ff72bef34148b0ee4fc (diff)
begin cleanup of SCFG parsing. Get rid of Sentence variable in ChartRuleLookupManager, replace with ChartParser variable
Diffstat (limited to 'moses/ChartRuleLookupManager.cpp')
-rw-r--r--moses/ChartRuleLookupManager.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/moses/ChartRuleLookupManager.cpp b/moses/ChartRuleLookupManager.cpp
new file mode 100644
index 000000000..59b8a899c
--- /dev/null
+++ b/moses/ChartRuleLookupManager.cpp
@@ -0,0 +1,12 @@
+#include "ChartRuleLookupManager.h"
+#include "ChartParser.h"
+
+namespace Moses
+{
+const Sentence &ChartRuleLookupManager::GetSentence() const
+{
+ return m_parser.GetSentence();
+}
+
+} // namespace Moses
+