summaryrefslogtreecommitdiffstats
path: root/src/storage
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-03-07 14:56:40 +0800
committerPeng Wu <alexepico@gmail.com>2016-03-07 14:56:40 +0800
commit5e8cd71e7c7238a37321941a8dd7dc5c31d087bc (patch)
tree02ec39781525241499d876b3604e29aed6b04723 /src/storage
parent3c5ef62e8f6399f26ef95d75b235e66d94811e99 (diff)
downloadlibpinyin-5e8cd71e7c7238a37321941a8dd7dc5c31d087bc.tar.gz
libpinyin-5e8cd71e7c7238a37321941a8dd7dc5c31d087bc.tar.xz
libpinyin-5e8cd71e7c7238a37321941a8dd7dc5c31d087bc.zip
add chewing_large_table2_bdb.cpp
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/Makefile.am3
-rw-r--r--src/storage/chewing_large_table2_bdb.cpp23
2 files changed, 25 insertions, 1 deletions
diff --git a/src/storage/Makefile.am b/src/storage/Makefile.am
index 7ef7b0b..e185bad 100644
--- a/src/storage/Makefile.am
+++ b/src/storage/Makefile.am
@@ -80,7 +80,8 @@ libstorage_la_SOURCES = phrase_index.cpp \
if BERKELEYDB
libstorage_la_SOURCES += ngram_bdb.cpp \
- phrase_large_table3_bdb.cpp
+ phrase_large_table3_bdb.cpp \
+ chewing_large_table2_bdb.cpp
endif
if KYOTOCABINET
diff --git a/src/storage/chewing_large_table2_bdb.cpp b/src/storage/chewing_large_table2_bdb.cpp
new file mode 100644
index 0000000..a00d12d
--- /dev/null
+++ b/src/storage/chewing_large_table2_bdb.cpp
@@ -0,0 +1,23 @@
+/*
+ * libpinyin
+ * Library to deal with pinyin.
+ *
+ * Copyright (C) 2016 Peng Wu <alexepico@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#include "chewing_large_table2.h"
+#include "bdb_utils.h"