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-07-11 15:46:04 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-11 15:46:04 +0400
commitd7fa851f19dbb845e25e8423f6727d535dd7b7c5 (patch)
treee2c509a5890ce8848b005a330a6031855d0b0131 /moses/TranslationOptionCollectionConfusionNet.h
parent01641bfeeeffe2557a6302d2717386fd8763d4b3 (diff)
call legacy code for confusion network input with binary pt
Diffstat (limited to 'moses/TranslationOptionCollectionConfusionNet.h')
-rw-r--r--moses/TranslationOptionCollectionConfusionNet.h10
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);