diff options
-rw-r--r-- | moses/FF/PhrasePairFeature.h | 3 | ||||
-rw-r--r-- | phrase-extract/score-main.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/moses/FF/PhrasePairFeature.h b/moses/FF/PhrasePairFeature.h index 587de6676..4d0e76f9f 100644 --- a/moses/FF/PhrasePairFeature.h +++ b/moses/FF/PhrasePairFeature.h @@ -31,8 +31,7 @@ class PhrasePairFeature: public StatelessFeatureFunction CharHash m_punctuationHash; std::string m_filePathSource; - inline std::string ReplaceTilde(const StringPiece &str) const - { + inline std::string ReplaceTilde(const StringPiece &str) const { std::string out = str.as_string(); size_t pos = out.find('~'); while ( pos != std::string::npos ) { diff --git a/phrase-extract/score-main.cpp b/phrase-extract/score-main.cpp index 09cec8fbe..391330718 100644 --- a/phrase-extract/score-main.cpp +++ b/phrase-extract/score-main.cpp @@ -154,7 +154,7 @@ int main(int argc, char* argv[]) "[--TargetPreferenceLabels] " "[--UnpairedExtractFormat] " "[--ConditionOnTargetLHS] " - "[--CrossedNonTerm]" + "[--CrossedNonTerm]" << std::endl; std::cerr << featureManager.usage() << std::endl; exit(1); |