diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-02 18:54:49 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-02 18:54:49 +0400 |
commit | 0596c3e9e47301303c07e1b7d44e671f4c227423 (patch) | |
tree | e81a4df739467c849d60cf8842268b850a63098c /moses/InputPath.cpp | |
parent | d1d07d5923c03c3c6b7d7ac9cb6745c91f83be08 (diff) |
Add NonTerminalSet variable to InputPath
Diffstat (limited to 'moses/InputPath.cpp')
-rw-r--r-- | moses/InputPath.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/moses/InputPath.cpp b/moses/InputPath.cpp index 2c87a131e..fad2b3fc0 100644 --- a/moses/InputPath.cpp +++ b/moses/InputPath.cpp @@ -10,10 +10,11 @@ using namespace std; namespace Moses { -InputPath::InputPath(const Phrase &phrase, const WordsRange &range, const InputPath *prevNode +InputPath::InputPath(const Phrase &phrase, const NonTerminalSet &sourceNonTerms, const WordsRange &range, const InputPath *prevNode ,const ScoreComponentCollection *inputScore) :m_prevNode(prevNode) ,m_phrase(phrase) + ,m_sourceNonTerms(sourceNonTerms) ,m_range(range) ,m_inputScore(inputScore) { |