diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-11 15:46:04 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-11 15:46:04 +0400 |
commit | d7fa851f19dbb845e25e8423f6727d535dd7b7c5 (patch) | |
tree | e2c509a5890ce8848b005a330a6031855d0b0131 /moses/TranslationOptionCollectionConfusionNet.h | |
parent | 01641bfeeeffe2557a6302d2717386fd8763d4b3 (diff) |
call legacy code for confusion network input with binary pt
Diffstat (limited to 'moses/TranslationOptionCollectionConfusionNet.h')
-rw-r--r-- | moses/TranslationOptionCollectionConfusionNet.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/moses/TranslationOptionCollectionConfusionNet.h b/moses/TranslationOptionCollectionConfusionNet.h index 8e3b8a971..42cc9fd62 100644 --- a/moses/TranslationOptionCollectionConfusionNet.h +++ b/moses/TranslationOptionCollectionConfusionNet.h @@ -25,6 +25,16 @@ protected: InputPathList &GetInputPathList(size_t startPos, size_t endPos); void CheckLegacy(); + void CreateTranslationOptionsForRangeLegacy(const DecodeGraph &decodeStepList + , size_t startPosition + , size_t endPosition + , bool adhereTableLimit + , size_t graphInd); + void CreateTranslationOptionsForRangeNew(const DecodeGraph &decodeStepList + , size_t startPosition + , size_t endPosition + , bool adhereTableLimit + , size_t graphInd); public: TranslationOptionCollectionConfusionNet(const ConfusionNet &source, size_t maxNoTransOptPerCoverage, float translationOptionThreshold); |