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:
authorNicola Bertoldi <bertoldi@fbk.eu>2014-06-08 11:44:59 +0400
committerNicola Bertoldi <bertoldi@fbk.eu>2014-06-08 11:44:59 +0400
commit1fe4eb0528dee1e896716675bae13bd15d6fe1ac (patch)
treea7009dbde77a0fd2fe97a2d9c352d26a32bffcc1 /moses/Phrase.h
parent4d75c889f1e2fe3dd063525bdbbe516a9d71f579 (diff)
beautify
Diffstat (limited to 'moses/Phrase.h')
-rw-r--r--moses/Phrase.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/moses/Phrase.h b/moses/Phrase.h
index d19cdc651..e910cbb2a 100644
--- a/moses/Phrase.h
+++ b/moses/Phrase.h
@@ -140,8 +140,9 @@ public:
}
size_t GetNumTerminals() const;
- size_t GetNumNonTerminals() const
- { return GetSize() - GetNumTerminals(); }
+ size_t GetNumNonTerminals() const {
+ return GetSize() - GetNumTerminals();
+ }
//! whether the 2D vector is a substring of this phrase
bool Contains(const std::vector< std::vector<std::string> > &subPhraseVector