diff options
Diffstat (limited to 'phrase-extract/extract-rules-main.cpp')
-rw-r--r-- | phrase-extract/extract-rules-main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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<string,int>::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()); |