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-05 19:53:15 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-08-05 19:53:15 +0400
commit24e6d6c272e4c6f7c5768478ed6e492c81648994 (patch)
tree052a1b8ffd04c13da3397bfec88dff9d634d8f6d /moses/TranslationOption.h
parenta83c166678de92e19c1008865f82d05d1885152e (diff)
all hypotheses have translation option. All translation options have target phrase
Diffstat (limited to 'moses/TranslationOption.h')
-rw-r--r--moses/TranslationOption.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/moses/TranslationOption.h b/moses/TranslationOption.h
index 0d823949c..e5b5fb64d 100644
--- a/moses/TranslationOption.h
+++ b/moses/TranslationOption.h
@@ -73,6 +73,8 @@ protected:
_ScoreCacheMap m_lexReorderingScores;
public:
+ explicit TranslationOption(); // For initial hypo that does translate anything
+
/** constructor. Used by initial translation step */
TranslationOption(const WordsRange &wordsRange
, const TargetPhrase &targetPhrase);