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-05 03:00:36 +0300
committerMosesAdmin <moses-support-owner@mit.edu>2015-11-05 03:00:36 +0300
commit0804f69776fd0ea26be7ed3a6cc8218db28ec985 (patch)
treeba490fd0dde27be94e8aad24678e4d97c504214f /phrase-extract
parent9d7f62c05b9a7742175328f354cf946f2fec5711 (diff)
daily automatic beautifier
Diffstat (limited to 'phrase-extract')
-rw-r--r--phrase-extract/extract-main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/phrase-extract/extract-main.cpp b/phrase-extract/extract-main.cpp
index e439bc934..c23fda489 100644
--- a/phrase-extract/extract-main.cpp
+++ b/phrase-extract/extract-main.cpp
@@ -447,7 +447,7 @@ void ExtractTask::extract(SentenceAlignment &sentence)
wordNextOrient = getOrientWordModel(sentence, m_options.isWordType(), connectedLeftTopN, connectedRightTopN, endF, startF, endE, startE, 0, countF, -1, &lt, &ge);
orientationInfo += getOrientString(wordPrevOrient, m_options.isWordType()) + " " + getOrientString(wordNextOrient, m_options.isWordType());
// if(m_options.isAllModelsOutputFlag())
- // " | | ";
+ // " | | ";
}
addPhrase(sentence, startE, endE, startF, endF, orientationInfo);
}
@@ -561,12 +561,12 @@ REO_POS getOrientPhraseModel (SentenceAlignment & sentence, REO_MODEL_TYPE model
connectedLeftTop = false;
for(int indexF=startF-2*unit; (*ge)(indexF, zero) && !connectedLeftTop; indexF=indexF-unit)
if ((connectedLeftTop = ((it = inBottomRight.find(startE - unit)) != inBottomRight.end() &&
- it->second.find(indexF) != it->second.end())))
+ it->second.find(indexF) != it->second.end())))
return DRIGHT;
connectedRightTop = false;
for(int indexF=endF+2*unit; (*lt)(indexF, countF) && !connectedRightTop; indexF=indexF+unit)
if ((connectedRightTop = ((it = inBottomLeft.find(startE - unit)) != inBottomLeft.end() &&
- it->second.find(indexF) != it->second.end())))
+ it->second.find(indexF) != it->second.end())))
return DLEFT;
return UNKNOWN;
}