diff options
author | Peng Wu <alexepico@gmail.com> | 2012-06-27 15:53:05 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-06-27 15:58:39 +0800 |
commit | 0634ab933695ef0ecbbffd7495da351b8ea0022f (patch) | |
tree | c7d2162261d9c75b5e4b02c4e776389a189b58cd /src/storage | |
parent | 2fa45a596858b41c2018df102d60c5a9a155d54a (diff) | |
download | libpinyin-0634ab933695ef0ecbbffd7495da351b8ea0022f.tar.gz libpinyin-0634ab933695ef0ecbbffd7495da351b8ea0022f.tar.xz libpinyin-0634ab933695ef0ecbbffd7495da351b8ea0022f.zip |
write pinyin_iterator_add_phrase
Diffstat (limited to 'src/storage')
-rw-r--r-- | src/storage/phrase_index.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp index 8e73517..64eb649 100644 --- a/src/storage/phrase_index.cpp +++ b/src/storage/phrase_index.cpp @@ -490,7 +490,9 @@ bool FacadePhraseIndex::load_text(guint8 phrase_index, FILE * infile){ add_phrase_item( cur_token, item_ptr); delete item_ptr; +#if 0 m_total_freq += m_sub_phrase_indices[phrase_index]->get_phrase_index_total_freq(); +#endif return true; } |