diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-29 21:16:15 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-05-29 21:16:15 +0400 |
commit | 6249432407af8730c10bccc7894c0725fcaf5e47 (patch) | |
tree | 3ac1f094b9fdc199b04bc5ef209ce00e3596e37d /moses/GenerationDictionary.h | |
parent | 59bd7deb4b6b9c4f7b3b7dbb055783528fbc31ca (diff) |
beautify
Diffstat (limited to 'moses/GenerationDictionary.h')
-rw-r--r-- | moses/GenerationDictionary.h | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/moses/GenerationDictionary.h b/moses/GenerationDictionary.h index 6a1e4de9a..b2aeb0d96 100644 --- a/moses/GenerationDictionary.h +++ b/moses/GenerationDictionary.h @@ -53,22 +53,21 @@ protected: public: GenerationDictionary(const std::string &line); - virtual ~GenerationDictionary(); - - //! load data file - bool Load(const std::string &filePath, FactorDirection direction); - - /** number of unique input entries in the generation table. - * NOT the number of lines in the generation table - */ - size_t GetSize() const - { - return m_collection.size(); - } - /** returns a bag of output words, OutputWordCollection, for a particular input word. - * Or NULL if the input word isn't found. The search function used is the WordComparer functor - */ - const OutputWordCollection *FindWord(const Word &word) const; + virtual ~GenerationDictionary(); + + //! load data file + bool Load(const std::string &filePath, FactorDirection direction); + + /** number of unique input entries in the generation table. + * NOT the number of lines in the generation table + */ + size_t GetSize() const { + return m_collection.size(); + } + /** returns a bag of output words, OutputWordCollection, for a particular input word. + * Or NULL if the input word isn't found. The search function used is the WordComparer functor + */ + const OutputWordCollection *FindWord(const Word &word) const; }; |