diff options
author | Peng Wu <alexepico@gmail.com> | 2016-02-29 14:44:05 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-02-29 14:44:05 +0800 |
commit | 9385abef7168ef63cdab6c56f5181574c87cee26 (patch) | |
tree | f75867a9e12fb59afc73b2b9c656fb2036834a0b /src/storage | |
parent | a59f4bb0c2f766565664787ab7efbfee53b03f71 (diff) | |
download | libpinyin-9385abef7168ef63cdab6c56f5181574c87cee26.tar.gz libpinyin-9385abef7168ef63cdab6c56f5181574c87cee26.tar.xz libpinyin-9385abef7168ef63cdab6c56f5181574c87cee26.zip |
add chewing_large_table2.cpp
Diffstat (limited to 'src/storage')
-rw-r--r-- | src/storage/Makefile.am | 1 | ||||
-rw-r--r-- | src/storage/chewing_large_table2.cpp | 22 | ||||
-rw-r--r-- | src/storage/chewing_large_table2.h | 1 |
3 files changed, 24 insertions, 0 deletions
diff --git a/src/storage/Makefile.am b/src/storage/Makefile.am index 0605435..55f8022 100644 --- a/src/storage/Makefile.am +++ b/src/storage/Makefile.am @@ -73,6 +73,7 @@ libstorage_la_SOURCES = phrase_index.cpp \ pinyin_parser2.cpp \ zhuyin_parser2.cpp \ chewing_large_table.cpp \ + chewing_large_table2.cpp \ table_info.cpp if BERKELEYDB diff --git a/src/storage/chewing_large_table2.cpp b/src/storage/chewing_large_table2.cpp new file mode 100644 index 0000000..db0cef6 --- /dev/null +++ b/src/storage/chewing_large_table2.cpp @@ -0,0 +1,22 @@ +/* + * 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" diff --git a/src/storage/chewing_large_table2.h b/src/storage/chewing_large_table2.h index 23dbd2f..217ab9b 100644 --- a/src/storage/chewing_large_table2.h +++ b/src/storage/chewing_large_table2.h @@ -36,6 +36,7 @@ namespace pinyin{ +/* As this is a template class, the code will be in the header file. */ template<size_t phrase_length> class ChewingTableEntry{ friend class ChewingLargeTable2; |