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-10-02 19:51:16 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-10-02 19:51:16 +0400
commitbb511af0ee016646e9272a086cfe118efd7e1938 (patch)
tree9b73ba217c72e325c8fb1b1c0408325bb2779af0 /moses/InputPath.cpp
parentea236295985d43937f43bd02407198578665294a (diff)
minor rename of variables
Diffstat (limited to 'moses/InputPath.cpp')
-rw-r--r--moses/InputPath.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/moses/InputPath.cpp b/moses/InputPath.cpp
index d6e78e7ae..8e75c2251 100644
--- a/moses/InputPath.cpp
+++ b/moses/InputPath.cpp
@@ -14,11 +14,12 @@ InputPath::
InputPath(const Phrase &phrase, const NonTerminalSet &sourceNonTerms,
const WordsRange &range, const InputPath *prevNode,
const ScorePair *inputScore)
- :m_prevNode(prevNode)
+ :m_prevPath(prevNode)
,m_phrase(phrase)
,m_range(range)
,m_inputScore(inputScore)
,m_sourceNonTerms(sourceNonTerms)
+ ,m_nextNode(1)
{
//cerr << "phrase=" << phrase << " m_inputScore=" << *m_inputScore << endl;
@@ -67,7 +68,7 @@ const Word &InputPath::GetLastWord() const
std::ostream& operator<<(std::ostream& out, const InputPath& obj)
{
- out << &obj << " " << obj.GetWordsRange() << " " << obj.GetPrevNode() << " " << obj.GetPhrase();
+ out << &obj << " " << obj.GetWordsRange() << " " << obj.GetPrevPath() << " " << obj.GetPhrase();
out << "pt: ";
std::map<const PhraseDictionary*, std::pair<const TargetPhraseCollection*, const void*> >::const_iterator iter;