diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-07 14:48:18 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-07 14:48:18 +0400 |
commit | 89f39bf89dc6db74ecbe86263088f0967468f1e3 (patch) | |
tree | 9019be1eef7788837902e78dc12712951bb5cc4c /moses/DecodeStepTranslation.cpp | |
parent | a1f5167f85c7e17bcadd88aeffb3bf5f36cf20bc (diff) |
mark a function as legacy
Diffstat (limited to 'moses/DecodeStepTranslation.cpp')
-rw-r--r-- | moses/DecodeStepTranslation.cpp | 4 |
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) { |