diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-31 19:27:08 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-31 19:27:08 +0400 |
commit | f13bcf74cfc130c2cb54f8f0734166abdf62e368 (patch) | |
tree | 352e9c9cac5786aa8e38fc63975d35a431aced5c /moses/ChartRuleLookupManager.cpp | |
parent | bb1f49e10c17ba2a137e3ff72bef34148b0ee4fc (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.cpp | 12 |
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 + |