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-01-15 19:42:02 +0400
committerNicola Bertoldi <bertoldi@fbk.eu>2014-01-15 19:42:02 +0400
commitbd83999264407dd7970736ee3e70a6b39fb19014 (patch)
tree1a0a0d9bab2b8caf853c301187beb637b0a1af61 /moses/WordLattice.cpp
parenta098550f33dd1eead0e72a98a4822ce924841550 (diff)
beautify
Diffstat (limited to 'moses/WordLattice.cpp')
-rw-r--r--moses/WordLattice.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/moses/WordLattice.cpp b/moses/WordLattice.cpp
index 8dfc5879d..ab2a23861 100644
--- a/moses/WordLattice.cpp
+++ b/moses/WordLattice.cpp
@@ -13,7 +13,7 @@ namespace Moses
WordLattice::WordLattice()
{
UTIL_THROW_IF2(&InputFeature::Instance() == NULL,
- "Input feature must be specified");
+ "Input feature must be specified");
}
size_t WordLattice::GetColumnIncrement(size_t i, size_t j) const
@@ -216,9 +216,8 @@ WordLattice::CreateTranslationOptionCollection() const
if (StaticData::Instance().GetUseLegacyPT()) {
rv = new TranslationOptionCollectionConfusionNet(*this, maxNoTransOptPerCoverage, translationOptionThreshold);
- }
- else {
- rv = new TranslationOptionCollectionLattice(*this, maxNoTransOptPerCoverage, translationOptionThreshold);
+ } else {
+ rv = new TranslationOptionCollectionLattice(*this, maxNoTransOptPerCoverage, translationOptionThreshold);
}
assert(rv);