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/server
parent84b1c4b4c0c02362cdb35b55e08196d03b993baf (diff)
WordsRange -> Range
Diffstat (limited to 'moses/server')
-rw-r--r--moses/server/TranslationRequest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/server/TranslationRequest.cpp b/moses/server/TranslationRequest.cpp
index 8c1efb628..4635065c6 100644
--- a/moses/server/TranslationRequest.cpp
+++ b/moses/server/TranslationRequest.cpp
@@ -7,7 +7,7 @@ namespace MosesServer
using namespace std;
using Moses::Hypothesis;
using Moses::StaticData;
-using Moses::WordsRange;
+using Moses::Range;
using Moses::ChartHypothesis;
using Moses::Phrase;
using Moses::Manager;
@@ -87,8 +87,8 @@ TranslationRequest::
add_phrase_aln_info(Hypothesis const& h, vector<xmlrpc_c::value>& aInfo) const
{
if (!m_withAlignInfo) return;
- WordsRange const& trg = h.GetCurrTargetWordsRange();
- WordsRange const& src = h.GetCurrSourceWordsRange();
+ Range const& trg = h.GetCurrTargetWordsRange();
+ Range const& src = h.GetCurrSourceWordsRange();
std::map<std::string, xmlrpc_c::value> pAlnInfo;
pAlnInfo["tgt-start"] = xmlrpc_c::value_int(trg.GetStartPos());