Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-10-25 16:37:59 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-25 16:37:59 +0300
commit97b2aa5663e97079145fb494bf97e1b2997b4161 (patch)
treef8a68fa4ea40bb99c21cd26e7f02a27ddcc48187 /moses/InputType.cpp
parent84b1c4b4c0c02362cdb35b55e08196d03b993baf (diff)
WordsRange -> Range
Diffstat (limited to 'moses/InputType.cpp')
-rw-r--r--moses/InputType.cpp2
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) {