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/InputType.cpp | |
parent | 84b1c4b4c0c02362cdb35b55e08196d03b993baf (diff) |
WordsRange -> Range
Diffstat (limited to 'moses/InputType.cpp')
-rw-r--r-- | moses/InputType.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/InputType.cpp b/moses/InputType.cpp index d01fdd46e..db269ea8b 100644 --- a/moses/InputType.cpp +++ b/moses/InputType.cpp @@ -47,7 +47,7 @@ std::ostream& operator<<(std::ostream& out,InputType const& x) } // default implementation is one column equals one word -int InputType::ComputeDistortionDistance(const WordsRange& prev, const WordsRange& current) const +int InputType::ComputeDistortionDistance(const Range& prev, const Range& current) const { int dist = 0; if (prev.GetNumWordsCovered() == 0) { |