diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-07-07 05:14:51 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-07-07 05:14:51 +0400 |
commit | 29b895a97a0b7016e6afe8fa9cb2d232fec766a1 (patch) | |
tree | a4e70d25ac4d7ff9ab02dfecdbed3f756e6c71cf /moses/TranslationOptionCollection.h | |
parent | ecef376aedf046932d0697fa20a873db841e1a94 (diff) |
InputLatticeNode to InputPath
Diffstat (limited to 'moses/TranslationOptionCollection.h')
-rw-r--r-- | moses/TranslationOptionCollection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/TranslationOptionCollection.h b/moses/TranslationOptionCollection.h index 968eefc08..9c91663b1 100644 --- a/moses/TranslationOptionCollection.h +++ b/moses/TranslationOptionCollection.h @@ -43,7 +43,7 @@ class FactorMask; class Word; class DecodeGraph; class PhraseDictionary; -class InputLatticeNode; +class InputPath; /** Contains all phrase translations applicable to current input type (a sentence or confusion network). * A key insight into efficient decoding is that various input @@ -69,7 +69,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<Phrase*> m_unksrcs; - std::vector<InputLatticeNode*> m_phraseDictionaryQueue; + std::vector<InputPath*> m_phraseDictionaryQueue; TranslationOptionCollection(InputType const& src, size_t maxNoTransOptPerCoverage, float translationOptionThreshold); |