summaryrefslogtreecommitdiffstats
path: root/src/storage/ngram_kyotodb.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-04-14 16:45:14 +0800
committerPeng Wu <alexepico@gmail.com>2015-04-14 16:45:14 +0800
commitf18291a36a316496e63142cc34b01377c6b5a58e (patch)
tree7de7e101c7859dfb72bef5e3b10ab51d0ac80596 /src/storage/ngram_kyotodb.h
parente8d9463f45a7214e0eb36cfe09f45cce3b7baeb9 (diff)
downloadlibpinyin-f18291a36a316496e63142cc34b01377c6b5a58e.tar.gz
libpinyin-f18291a36a316496e63142cc34b01377c6b5a58e.tar.xz
libpinyin-f18291a36a316496e63142cc34b01377c6b5a58e.zip
write ngram_kyotodb.cpp in progress
Diffstat (limited to 'src/storage/ngram_kyotodb.h')
-rw-r--r--src/storage/ngram_kyotodb.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/storage/ngram_kyotodb.h b/src/storage/ngram_kyotodb.h
index 6c5eea0..2c156de 100644
--- a/src/storage/ngram_kyotodb.h
+++ b/src/storage/ngram_kyotodb.h
@@ -22,7 +22,7 @@
#ifndef NGRAM_KYOTODB_H
#define NGRAM_KYOTODB_H
-#include <kchashdb.h>
+#include <kcdb.h>
#include "memory_chunk.h"
namespace pinyin{
@@ -37,13 +37,11 @@ class SingleGram;
*/
class Bigram{
private:
- kyotocabinet::DB * m_db;
+ kyotocabinet::BasicDB * m_db;
/* memory chunk for Kyoto Cabinet. */
MemoryChunk m_chunk;
- /* Note: sync mask_out code with ngram_bdb.cpp. */
-
void reset();
public: