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-06 20:09:53 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-08-06 20:09:53 +0400
commit7a808a2edb5ce9304a2d6dd043188c64a1f23b46 (patch)
treec16f395ed454cdd52e6f423571d07fce87d93b20 /moses/DecodeStepTranslation.h
parent646cf93c1f8e1e72e0907d1c3c03e644cff51e2f (diff)
push InpuutPath down into phrase dictionary for legacy methods
Diffstat (limited to 'moses/DecodeStepTranslation.h')
-rw-r--r--moses/DecodeStepTranslation.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/moses/DecodeStepTranslation.h b/moses/DecodeStepTranslation.h
index c48f236d5..0380ffce6 100644
--- a/moses/DecodeStepTranslation.h
+++ b/moses/DecodeStepTranslation.h
@@ -71,6 +71,11 @@ public:
, const InputPathList &inputPathList) const;
private:
+ // I'm not sure whether this actually works or not for binary phrase table.
+ // The source phrase only appears to contain the 1st word, therefore, this function
+ // only compares the 1st word
+ const InputPath &GetInputPathLegacy(const TargetPhrase targetPhrase,
+ const InputPathList &inputPathList) const;
};