diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-07-31 05:32:58 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-07-31 05:32:58 +0400 |
commit | 3302301c6dce0d48c27a65debc346842930e3476 (patch) | |
tree | 872dd796e9ea8c9487b03aef467a5025cbb95cfc /phrase-extract | |
parent | a1ab8e354adc61e2c38b343de733048f5d8c88fc (diff) |
compile error in statistics program
Diffstat (limited to 'phrase-extract')
-rw-r--r-- | phrase-extract/statistics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phrase-extract/statistics.cpp b/phrase-extract/statistics.cpp index 563fc4f90..67373ec93 100644 --- a/phrase-extract/statistics.cpp +++ b/phrase-extract/statistics.cpp @@ -40,7 +40,7 @@ class LexicalTable { public: map< WORD_ID, map< WORD_ID, double > > ltable; - void load( char[] ); + void load( const string &); }; } @@ -332,7 +332,7 @@ void LexicalTable::load( const string &filePath ) vector<string> token = tokenize( line ); if (token.size() != 3) { - cerr << "line " << i << " in " << fileName << " has wrong number of tokens, skipping:\n" << + cerr << "line " << i << " in " << filePath << " has wrong number of tokens, skipping:\n" << token.size() << " " << token[0] << " " << line << endl; continue; } |