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-10-04 16:08:14 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-10-04 16:08:14 +0400
commita0b6c381e017e72f0b26850d5527ce946104d537 (patch)
tree02361d93f5632a03dfa1c9af2a23c1348b9cb83d /moses/TranslationOptionCollectionLattice.h
parentf18e35c42a9d07ca11d5fed107f97999076cfae5 (diff)
correct creation of input paths for lattices
Diffstat (limited to 'moses/TranslationOptionCollectionLattice.h')
-rw-r--r--moses/TranslationOptionCollectionLattice.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/moses/TranslationOptionCollectionLattice.h b/moses/TranslationOptionCollectionLattice.h
index 11aa3868b..3e09954c7 100644
--- a/moses/TranslationOptionCollectionLattice.h
+++ b/moses/TranslationOptionCollectionLattice.h
@@ -15,8 +15,11 @@ class WordLattice;
class TranslationOptionCollectionLattice : public TranslationOptionCollection
{
protected:
- void ProcessUnknownWord();
- void ProcessUnknownWord(size_t sourcePos);
+ /* forcibly create translation option for a 1 word.
+ * call the base class' ProcessOneUnknownWord() for each possible word in the confusion network
+ * at a particular source position
+ */
+ void ProcessUnknownWord(size_t sourcePos); // do not implement
public:
TranslationOptionCollectionLattice(const WordLattice &source, size_t maxNoTransOptPerCoverage, float translationOptionThreshold);
@@ -27,7 +30,7 @@ public:
, size_t startPosition
, size_t endPosition
, bool adhereTableLimit
- , size_t graphInd);
+ , size_t graphInd); // do not implement
protected: