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/server | |
parent | 84b1c4b4c0c02362cdb35b55e08196d03b993baf (diff) |
WordsRange -> Range
Diffstat (limited to 'moses/server')
-rw-r--r-- | moses/server/TranslationRequest.cpp | 6 |
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()); |