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/ChartHypothesis.h | |
parent | 84b1c4b4c0c02362cdb35b55e08196d03b993baf (diff) |
WordsRange -> Range
Diffstat (limited to 'moses/ChartHypothesis.h')
-rw-r--r-- | moses/ChartHypothesis.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/ChartHypothesis.h b/moses/ChartHypothesis.h index 776fcd61c..63f59c31e 100644 --- a/moses/ChartHypothesis.h +++ b/moses/ChartHypothesis.h @@ -23,7 +23,7 @@ #include <vector> #include <boost/scoped_ptr.hpp> #include "Util.h" -#include "WordsRange.h" +#include "Range.h" #include "ScoreComponentCollection.h" #include "Phrase.h" #include "ChartTranslationOptions.h" @@ -52,7 +52,7 @@ protected: boost::shared_ptr<ChartTranslationOption> m_transOpt; - WordsRange m_currSourceWordsRange; + Range m_currSourceWordsRange; std::vector<const FFState*> m_ffStates; /*! stateful feature function states */ /*! sum of scores of this hypothesis, and previous hypotheses. Lazily initialised. */ mutable boost::scoped_ptr<ScoreComponentCollection> m_scoreBreakdown; @@ -100,7 +100,7 @@ public: } //! the source range that this hypothesis spans - const WordsRange &GetCurrSourceRange() const { + const Range &GetCurrSourceRange() const { return m_currSourceWordsRange; } |