diff options
author | Peng Wu <alexepico@gmail.com> | 2015-04-14 11:20:04 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2015-04-14 11:20:04 +0800 |
commit | e8d9463f45a7214e0eb36cfe09f45cce3b7baeb9 (patch) | |
tree | 5ce31a8563adafc6d5823650e04e8ba37c87c49d /src/storage/ngram_bdb.h | |
parent | ebbe25e0cae57e530a11ae12b965a330ff9496f4 (diff) | |
download | libpinyin-e8d9463f45a7214e0eb36cfe09f45cce3b7baeb9.tar.gz libpinyin-e8d9463f45a7214e0eb36cfe09f45cce3b7baeb9.tar.xz libpinyin-e8d9463f45a7214e0eb36cfe09f45cce3b7baeb9.zip |
add ngram_kyotodb.h
Diffstat (limited to 'src/storage/ngram_bdb.h')
-rw-r--r-- | src/storage/ngram_bdb.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/storage/ngram_bdb.h b/src/storage/ngram_bdb.h index cbfb8f3..f1c15f2 100644 --- a/src/storage/ngram_bdb.h +++ b/src/storage/ngram_bdb.h @@ -19,6 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef NGRAM_BDB_H +#define NGRAM_BDB_H + #include <db.h> namespace pinyin{ @@ -35,6 +38,8 @@ class Bigram{ private: DB * m_db; + /* Note: sync mask_out code with ngram_kyotodb.cpp. */ + void reset(); public: @@ -142,3 +147,5 @@ public: }; }; + +#endif |