From 739165c2b05dd3a423fedc6d14afcbf5ffe302e2 Mon Sep 17 00:00:00 2001 From: MosesAdmin Date: Fri, 11 Dec 2015 00:00:33 +0000 Subject: daily automatic beautifier --- phrase-extract/ExtractedRule.h | 2 +- phrase-extract/extract-rules-main.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'phrase-extract') diff --git a/phrase-extract/ExtractedRule.h b/phrase-extract/ExtractedRule.h index 2eeed1d30..adbde43e8 100644 --- a/phrase-extract/ExtractedRule.h +++ b/phrase-extract/ExtractedRule.h @@ -70,7 +70,7 @@ public: , startS(sS) , endS(eS) , count(0) - , pcfgScore(0.0) + , pcfgScore(0.0) , l2rOrientation(PhraseOrientation::REO_CLASS_UNKNOWN) , r2lOrientation(PhraseOrientation::REO_CLASS_UNKNOWN) { } diff --git a/phrase-extract/extract-rules-main.cpp b/phrase-extract/extract-rules-main.cpp index 3dc3210c0..62dbbbf0e 100644 --- a/phrase-extract/extract-rules-main.cpp +++ b/phrase-extract/extract-rules-main.cpp @@ -1210,7 +1210,8 @@ void collectWordLabelCounts( SentenceAlignmentWithSyntax &sentence ) } } -void writeUnknownWordLabel(const string & fileName) { +void writeUnknownWordLabel(const string & fileName) +{ ofstream outFile; outFile.open(fileName.c_str()); typedef map::const_iterator I; @@ -1234,7 +1235,7 @@ void writeUnknownWordLabel(const string & fileName) { outFile.close(); } -void writePhraseOrientationPriors(const string &fileName) +void writePhraseOrientationPriors(const string &fileName) { ofstream outFile; outFile.open(fileName.c_str()); -- cgit v1.2.3