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-05-29 21:16:15 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-05-29 21:16:15 +0400
commit6249432407af8730c10bccc7894c0725fcaf5e47 (patch)
tree3ac1f094b9fdc199b04bc5ef209ce00e3596e37d /moses/GenerationDictionary.h
parent59bd7deb4b6b9c4f7b3b7dbb055783528fbc31ca (diff)
beautify
Diffstat (limited to 'moses/GenerationDictionary.h')
-rw-r--r--moses/GenerationDictionary.h31
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;
};