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-08-07 17:18:12 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-08-07 17:18:12 +0400
commit441acf15e6a96f7d063d9b14bde2ee502e758c58 (patch)
tree681b91441a8e5067f85d0d1392f9c33aa0acac09 /moses-cmd
parent5eef91c0ea336576b47c5fc0e1de2502be3b65a2 (diff)
beautify
Diffstat (limited to 'moses-cmd')
-rw-r--r--moses-cmd/IOWrapper.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/moses-cmd/IOWrapper.cpp b/moses-cmd/IOWrapper.cpp
index f7952dbfc..ff61d9050 100644
--- a/moses-cmd/IOWrapper.cpp
+++ b/moses-cmd/IOWrapper.cpp
@@ -206,10 +206,10 @@ void OutputSurface(std::ostream &out, const Hypothesis &edge, const std::vector<
const Factor *factor = phrase.GetFactor(pos, outputFactorOrder[0]);
if (placeholderFactor != NOT_FOUND) {
- const Factor *origFactor = phrase.GetFactor(pos, placeholderFactor);
- if (origFactor) {
- factor = origFactor;
- }
+ const Factor *origFactor = phrase.GetFactor(pos, placeholderFactor);
+ if (origFactor) {
+ factor = origFactor;
+ }
}
CHECK(factor);
out << *factor;
@@ -348,7 +348,7 @@ void OutputBestHypo(const std::vector<Word>& mbrBestHypo, long /*translationId*
void OutputInput(std::vector<const Phrase*>& map, const Hypothesis* hypo)
{
if (hypo->GetPrevHypo()) {
- OutputInput(map, hypo->GetPrevHypo());
+ OutputInput(map, hypo->GetPrevHypo());
map[hypo->GetCurrSourceWordsRange().GetStartPos()] = &hypo->GetTranslationOption().GetSourcePhrase();
}
}