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:
authorMosesAdmin <moses-support-owner@mit.edu>2015-11-12 03:00:40 +0300
committerMosesAdmin <moses-support-owner@mit.edu>2015-11-12 03:00:40 +0300
commitdad1bd6127115cda89158c4c8fcf35cc4451218c (patch)
tree8dc4f64231ee71dbbce0e595093b33b20e0c21de /moses/Hypothesis.cpp
parent858a509d53a9bb990e3a33bd968d2e721b34572c (diff)
daily automatic beautifier
Diffstat (limited to 'moses/Hypothesis.cpp')
-rw-r--r--moses/Hypothesis.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/moses/Hypothesis.cpp b/moses/Hypothesis.cpp
index 19bd541f6..78d14f8a1 100644
--- a/moses/Hypothesis.cpp
+++ b/moses/Hypothesis.cpp
@@ -347,8 +347,8 @@ std::string
Hypothesis::
GetTargetPhraseStringRep(const vector<FactorType> factorsToPrint) const
{
- return (m_prevHypo
- ? GetCurrTargetPhrase().GetStringRep(factorsToPrint)
+ return (m_prevHypo
+ ? GetCurrTargetPhrase().GetStringRep(factorsToPrint)
: "");
}
@@ -471,14 +471,14 @@ OutputSurface(std::ostream &out, const Hypothesis &edge,
UTIL_THROW_IF2(outputFactorOrder.size() == 0,
"Must specific at least 1 output factor");
const TargetPhrase& phrase = edge.GetCurrTargetPhrase();
- bool markUnknown = GetManager().options().unk.mark;
+ bool markUnknown = GetManager().options().unk.mark;
// = StaticData::Instance().GetMarkUnknown();
if (reportAllFactors == true) {
out << phrase;
} else {
- FactorType placeholderFactor
- = StaticData::Instance().options().input.placeholder_factor;
-
+ FactorType placeholderFactor
+ = StaticData::Instance().options().input.placeholder_factor;
+
std::map<size_t, const Factor*> placeholders;
if (placeholderFactor != NOT_FOUND) {
// creates map of target position -> factor for placeholders