diff options
author | Peng Wu <alexepico@gmail.com> | 2013-02-19 15:27:46 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-02-19 15:27:46 +0800 |
commit | 46e6218e04b40b3fece89f752c8ac6334e5782d1 (patch) | |
tree | 027a931f65b899bf8ca6ce8842715e4d1bf62525 /utils/storage | |
parent | c446681d0c6e546b2cc1d3863ebea57757b12a21 (diff) | |
download | libpinyin-46e6218e04b40b3fece89f752c8ac6334e5782d1.tar.gz libpinyin-46e6218e04b40b3fece89f752c8ac6334e5782d1.tar.xz libpinyin-46e6218e04b40b3fece89f752c8ac6334e5782d1.zip |
add save_dictionary
Diffstat (limited to 'utils/storage')
-rw-r--r-- | utils/storage/gen_binary_files.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/storage/gen_binary_files.cpp b/utils/storage/gen_binary_files.cpp index 606ea69..ac0f45c 100644 --- a/utils/storage/gen_binary_files.cpp +++ b/utils/storage/gen_binary_files.cpp @@ -96,5 +96,8 @@ int main(int argc, char * argv[]){ if (!save_phrase_index(&phrase_index)) exit(ENOENT); + if (!save_dictionary(&phrase_index)) + exit(ENOENT); + return 0; } |