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-06-05 16:42:56 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-06-05 16:42:56 +0400
commitb9f54b195aa780a482bcd9d3667140428f9aebc7 (patch)
tree34d06a65dc93a9c9cd3519735cb9c2b0faca3b63 /moses/FF/InputFeature.h
parent36c17f3c933504dbb540ec318c8c6eb0554d1b87 (diff)
implement GenerationDictionary.Load()
Diffstat (limited to 'moses/FF/InputFeature.h')
-rw-r--r--moses/FF/InputFeature.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/moses/FF/InputFeature.h b/moses/FF/InputFeature.h
index 911aff81f..267ac2a08 100644
--- a/moses/FF/InputFeature.h
+++ b/moses/FF/InputFeature.h
@@ -16,13 +16,16 @@ protected:
public:
InputFeature(const std::string &line);
- bool IsUseable(const FactorMask &mask) const
- { return true; }
-
- size_t GetNumInputScores() const
- { return m_numInputScores; }
- size_t GetNumRealWordsInInput() const
- { return m_numRealWordCount; }
+ bool IsUseable(const FactorMask &mask) const {
+ return true;
+ }
+
+ size_t GetNumInputScores() const {
+ return m_numInputScores;
+ }
+ size_t GetNumRealWordsInInput() const {
+ return m_numRealWordCount;
+ }
};