diff options
author | Peng Wu <alexepico@gmail.com> | 2010-08-18 14:05:21 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2010-08-18 14:05:21 +0800 |
commit | ac7b8fa13887e0e663b515f40e4cbc7b2c2b9661 (patch) | |
tree | 9c1a73a1baee17f787f46b4af11a5874cfa32be3 /src/storage/ngram.h | |
parent | a0412414b3b5f8647ff41405254dbcb4e334e3ae (diff) | |
download | libpinyin-ac7b8fa13887e0e663b515f40e4cbc7b2c2b9661.tar.gz libpinyin-ac7b8fa13887e0e663b515f40e4cbc7b2c2b9661.tar.xz libpinyin-ac7b8fa13887e0e663b515f40e4cbc7b2c2b9661.zip |
add retrieve_all defination.
Diffstat (limited to 'src/storage/ngram.h')
-rw-r--r-- | src/storage/ngram.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/storage/ngram.h b/src/storage/ngram.h index 7a723cd..42f7aaf 100644 --- a/src/storage/ngram.h +++ b/src/storage/ngram.h @@ -47,6 +47,9 @@ private: public: /* Null Constructor */ SingleGram(); + /* retrieve all items */ + bool retrieve_all(/* out */ BigramPhraseWithCountArray array); + /* search method */ /* the array result contains many items */ bool search(/* in */ PhraseIndexRange * range, |