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:
authorHieu Hoang <fishandfrolick@gmail.com>2012-07-31 05:32:58 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-07-31 05:32:58 +0400
commit3302301c6dce0d48c27a65debc346842930e3476 (patch)
tree872dd796e9ea8c9487b03aef467a5025cbb95cfc /phrase-extract
parenta1ab8e354adc61e2c38b343de733048f5d8c88fc (diff)
compile error in statistics program
Diffstat (limited to 'phrase-extract')
-rw-r--r--phrase-extract/statistics.cpp4
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;
}