summaryrefslogtreecommitdiffstats
path: root/utils/segment/ngseg.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-05-21 12:07:13 +0800
committerPeng Wu <alexepico@gmail.com>2012-05-21 12:07:13 +0800
commit931df7d5a0924cde0c5b249b5f82a8d5bf9039b5 (patch)
tree4e0eb8b3dd48255c010efaaa7f8292726b95551d /utils/segment/ngseg.cpp
parentad922c4b6f8a6f2062a980e7b15b4fa17428b182 (diff)
downloadlibpinyin-931df7d5a0924cde0c5b249b5f82a8d5bf9039b5.tar.gz
libpinyin-931df7d5a0924cde0c5b249b5f82a8d5bf9039b5.tar.xz
libpinyin-931df7d5a0924cde0c5b249b5f82a8d5bf9039b5.zip
rename init_phrase_index to load_phrase_index
Diffstat (limited to 'utils/segment/ngseg.cpp')
-rw-r--r--utils/segment/ngseg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/segment/ngseg.cpp b/utils/segment/ngseg.cpp
index b0ec850..994b54c 100644
--- a/utils/segment/ngseg.cpp
+++ b/utils/segment/ngseg.cpp
@@ -110,7 +110,7 @@ int main(int argc, char * argv[]){
/* init phrase index */
FacadePhraseIndex phrase_index;
- if (!init_phrase_index(&phrase_index))
+ if (!load_phrase_index(&phrase_index))
exit(ENOENT);
/* init bi-gram */