diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-25 16:37:59 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-25 16:37:59 +0300 |
commit | 97b2aa5663e97079145fb494bf97e1b2997b4161 (patch) | |
tree | f8a68fa4ea40bb99c21cd26e7f02a27ddcc48187 /moses/InputPath.h | |
parent | 84b1c4b4c0c02362cdb35b55e08196d03b993baf (diff) |
WordsRange -> Range
Diffstat (limited to 'moses/InputPath.h')
-rw-r--r-- | moses/InputPath.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/InputPath.h b/moses/InputPath.h index 84dd22a26..3a1f5e435 100644 --- a/moses/InputPath.h +++ b/moses/InputPath.h @@ -5,7 +5,7 @@ #include <iostream> #include <vector> #include "Phrase.h" -#include "WordsRange.h" +#include "Range.h" #include "NonTerminal.h" #include "moses/FactorCollection.h" #include <boost/shared_ptr.hpp> @@ -44,7 +44,7 @@ public: protected: const InputPath *m_prevPath; Phrase m_phrase; - WordsRange m_range; + Range m_range; const ScorePair *m_inputScore; size_t m_nextNode; // distance to next node. For lattices @@ -68,7 +68,7 @@ public: InputPath(ttaskwptr const ttask, Phrase const& phrase, NonTerminalSet const& sourceNonTerms, - WordsRange const& range, + Range const& range, InputPath const* prevNode, ScorePair const* inputScore); @@ -83,7 +83,7 @@ public: const std::vector<bool> &GetNonTerminalArray() const { return m_sourceNonTermArray; } - const WordsRange &GetWordsRange() const { + const Range &GetWordsRange() const { return m_range; } const Word &GetLastWord() const; |