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/ChartParserCallback.h | |
parent | 84b1c4b4c0c02362cdb35b55e08196d03b993baf (diff) |
WordsRange -> Range
Diffstat (limited to 'moses/ChartParserCallback.h')
-rw-r--r-- | moses/ChartParserCallback.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/ChartParserCallback.h b/moses/ChartParserCallback.h index 7c53654a6..04cf32e94 100644 --- a/moses/ChartParserCallback.h +++ b/moses/ChartParserCallback.h @@ -9,7 +9,7 @@ namespace Moses { class TargetPhraseCollection; -class WordsRange; +class Range; class TargetPhrase; class InputPath; class InputType; @@ -20,11 +20,11 @@ class ChartParserCallback public: virtual ~ChartParserCallback() {} - virtual void Add(const TargetPhraseCollection &, const StackVec &, const WordsRange &) = 0; + virtual void Add(const TargetPhraseCollection &, const StackVec &, const Range &) = 0; virtual bool Empty() const = 0; - virtual void AddPhraseOOV(TargetPhrase &phrase, std::list<TargetPhraseCollection::shared_ptr > &waste_memory, const WordsRange &range) = 0; + virtual void AddPhraseOOV(TargetPhrase &phrase, std::list<TargetPhraseCollection::shared_ptr > &waste_memory, const Range &range) = 0; virtual void EvaluateWithSourceContext(const InputType &input, const InputPath &inputPath) = 0; |