diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-07 15:55:10 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-07 15:55:10 +0400 |
commit | 71073868a891abd315ff0b1479967dc510dc848d (patch) | |
tree | 1423eece61d959d0428b391a5075194b08d10db8 /moses/DecodeStepTranslation.h | |
parent | 5deefbddafad6b381828db90c28cbe078eea9a91 (diff) |
PhraseDictionaryTreeAdaptor::GetTargetPhraseCollectionLegacy return tpColl and vector of source phrases
Diffstat (limited to 'moses/DecodeStepTranslation.h')
-rw-r--r-- | moses/DecodeStepTranslation.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/moses/DecodeStepTranslation.h b/moses/DecodeStepTranslation.h index c803a5c10..38a42b552 100644 --- a/moses/DecodeStepTranslation.h +++ b/moses/DecodeStepTranslation.h @@ -42,12 +42,6 @@ public: const std::vector<FeatureFunction*> &features); - void ProcessLegacy(const TranslationOption &inputPartialTranslOpt - , const DecodeStep &decodeStep - , PartialTranslOptColl &outputPartialTranslOptColl - , TranslationOptionCollection *toc - , bool adhereTableLimit - , const Phrase &src) const; virtual void Process(const TranslationOption &inputPartialTranslOpt , const DecodeStep &decodeStep , PartialTranslOptColl &outputPartialTranslOptColl @@ -65,10 +59,17 @@ public: , size_t startPos, size_t endPos, bool adhereTableLimit , const TargetPhraseCollection *phraseColl) const; + // legacy void ProcessInitialTranslationLegacy(const InputType &source , PartialTranslOptColl &outputPartialTranslOptColl , size_t startPos, size_t endPos, bool adhereTableLimit , const InputPathList &inputPathList) const; + void ProcessLegacy(const TranslationOption &inputPartialTranslOpt + , const DecodeStep &decodeStep + , PartialTranslOptColl &outputPartialTranslOptColl + , TranslationOptionCollection *toc + , bool adhereTableLimit + , const Phrase &src) const; private: // I'm not sure whether this actually works or not for binary phrase table. |