diff options
author | Peng Wu <alexepico@gmail.com> | 2011-08-06 14:47:22 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-08-06 14:47:22 +0800 |
commit | c0615b9d1e52c985770d2c60c6c8a960ada7a93c (patch) | |
tree | 1570012adfcba9906f52bab0b37ab57a53a07e19 /utils/segment/spseg.cpp | |
parent | 6504338199d28764aae9a1cefe2e14cf02d4287e (diff) | |
download | libpinyin-c0615b9d1e52c985770d2c60c6c8a960ada7a93c.tar.gz libpinyin-c0615b9d1e52c985770d2c60c6c8a960ada7a93c.tar.xz libpinyin-c0615b9d1e52c985770d2c60c6c8a960ada7a93c.zip |
refine utils/segment
Diffstat (limited to 'utils/segment/spseg.cpp')
-rw-r--r-- | utils/segment/spseg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/segment/spseg.cpp b/utils/segment/spseg.cpp index cec5ba2..3a5b188 100644 --- a/utils/segment/spseg.cpp +++ b/utils/segment/spseg.cpp @@ -152,7 +152,7 @@ int main(int argc, char * argv[]){ //init phrase table g_phrases = new PhraseLargeTable; - FILE * gb_file = fopen("../../data/gb_char.table", "r"); + FILE * gb_file = fopen("gb_char.table", "r"); if ( gb_file == NULL ){ fprintf(stderr, "can't open gb_char.table!\n"); exit(ENOENT); @@ -160,7 +160,7 @@ int main(int argc, char * argv[]){ g_phrases->load_text(gb_file); fclose(gb_file); - FILE * gbk_file = fopen("../../data/gbk_char.table", "r"); + FILE * gbk_file = fopen("gbk_char.table", "r"); if ( gbk_file == NULL ){ fprintf(stderr, "can't open gbk_char.table!\n"); exit(ENOENT); |