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 15:25:34 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-31 15:25:34 +0400
commitba187294d5aa54e4e039623a283abcb20edb94ad (patch)
tree6a885a146a23f44946e9c93f72bf99b98a0edd11 /moses/ChartParser.h
parent231c32fae9bf9c3a0042909405e6c1f1386d2938 (diff)
begin cleanup of SCFG parsing. Get rid of Sentence variable in ChartRuleLookupManager, replace with ChartParser variable
Diffstat (limited to 'moses/ChartParser.h')
-rw-r--r--moses/ChartParser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/moses/ChartParser.h b/moses/ChartParser.h
index 9fd73e8a9..fefbbd8b7 100644
--- a/moses/ChartParser.h
+++ b/moses/ChartParser.h
@@ -33,6 +33,7 @@ namespace Moses
class ChartParserCallback;
class ChartRuleLookupManager;
class InputType;
+class Sentence;
class ChartCellCollectionBase;
class Word;
class Phrase;
@@ -60,6 +61,9 @@ public:
void Create(const WordsRange &range, ChartParserCallback &to);
+ //! the sentence being decoded
+ const Sentence &GetSentence() const;
+
private:
ChartParserUnknown m_unknown;
std::vector <DecodeGraph*> m_decodeGraphList;