diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-10-03 21:58:45 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-10-03 21:58:45 +0400 |
commit | f18e35c42a9d07ca11d5fed107f97999076cfae5 (patch) | |
tree | 2d22fc29d93b75bc4e33854e7f655c1cc2cc882f /moses/TranslationOptionCollection.h | |
parent | a41dbeba46cd9dd0eb0135461464a49e79ac96b5 (diff) |
correct creation of input paths for lattices
Diffstat (limited to 'moses/TranslationOptionCollection.h')
-rw-r--r-- | moses/TranslationOptionCollection.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/moses/TranslationOptionCollection.h b/moses/TranslationOptionCollection.h index d2d976a7e..240e42aa5 100644 --- a/moses/TranslationOptionCollection.h +++ b/moses/TranslationOptionCollection.h @@ -70,7 +70,7 @@ protected: const size_t m_maxNoTransOptPerCoverage; /*< maximum number of translation options per input span */ const float m_translationOptionThreshold; /*< threshold for translation options with regard to best option for input span */ std::vector<const Phrase*> m_unksrcs; - InputPathList m_phraseDictionaryQueue; + InputPathList m_inputPathQueue; TranslationOptionCollection(InputType const& src, size_t maxNoTransOptPerCoverage, float translationOptionThreshold); @@ -125,11 +125,6 @@ public: return m_unksrcs; } - //! get length/size of source input - size_t GetSize() const { - return m_source.GetSize(); - }; - //! Create all possible translations from the phrase tables virtual void CreateTranslationOptions(); //! Create translation options that exactly cover a specific input span. |