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/ChartRuleLookupManager.h | |
parent | 84b1c4b4c0c02362cdb35b55e08196d03b993baf (diff) |
WordsRange -> Range
Diffstat (limited to 'moses/ChartRuleLookupManager.h')
-rw-r--r-- | moses/ChartRuleLookupManager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/ChartRuleLookupManager.h b/moses/ChartRuleLookupManager.h index b62ec157d..65fe6f3a4 100644 --- a/moses/ChartRuleLookupManager.h +++ b/moses/ChartRuleLookupManager.h @@ -28,7 +28,7 @@ namespace Moses { class ChartParser; class ChartParserCallback; -class WordsRange; +class Range; class Sentence; /** Defines an interface for looking up rules in a rule table. Concrete @@ -48,7 +48,7 @@ public: virtual ~ChartRuleLookupManager(); const ChartCellLabelSet &GetTargetLabelSet(size_t begin, size_t end) const { - return m_cellCollection.GetBase(WordsRange(begin, end)).GetTargetLabelSet(); + return m_cellCollection.GetBase(Range(begin, end)).GetTargetLabelSet(); } const ChartParser &GetParser() const { |