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 <hieu@hoang.co.uk>2013-08-07 14:48:18 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-08-07 14:48:18 +0400
commit89f39bf89dc6db74ecbe86263088f0967468f1e3 (patch)
tree9019be1eef7788837902e78dc12712951bb5cc4c /moses/DecodeStepTranslation.cpp
parenta1f5167f85c7e17bcadd88aeffb3bf5f36cf20bc (diff)
mark a function as legacy
Diffstat (limited to 'moses/DecodeStepTranslation.cpp')
-rw-r--r--moses/DecodeStepTranslation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/DecodeStepTranslation.cpp b/moses/DecodeStepTranslation.cpp
index 4208cc839..497943b1f 100644
--- a/moses/DecodeStepTranslation.cpp
+++ b/moses/DecodeStepTranslation.cpp
@@ -66,7 +66,7 @@ void DecodeStepTranslation::Process(const TranslationOption &inputPartialTranslO
const size_t tableLimit = phraseDictionary->GetTableLimit();
const TargetPhraseCollection *phraseColl=
- phraseDictionary->GetTargetPhraseCollection(toc->GetSource(),sourceWordsRange);
+ phraseDictionary->GetTargetPhraseCollectionLegacy(toc->GetSource(),sourceWordsRange);
if (phraseColl != NULL) {
TargetPhraseCollection::const_iterator iterTargetPhrase, iterEnd;
@@ -200,7 +200,7 @@ void DecodeStepTranslation::ProcessInitialTranslationLegacy(
const size_t tableLimit = phraseDictionary->GetTableLimit();
const WordsRange wordsRange(startPos, endPos);
- const TargetPhraseCollection *phraseColl = phraseDictionary->GetTargetPhraseCollection(source,wordsRange);
+ const TargetPhraseCollection *phraseColl = phraseDictionary->GetTargetPhraseCollectionLegacy(source,wordsRange);
if (phraseColl != NULL) {
IFVERBOSE(3) {