diff options
author | Peng Wu <alexepico@gmail.com> | 2016-05-10 13:52:04 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-05-10 13:52:04 +0800 |
commit | 22149d09c7352bb88c1bd291f548c02b0454e7a2 (patch) | |
tree | 764f115422897f725fbc6a6890e5e1c80bc05038 /src/storage/phonetic_key_matrix.cpp | |
parent | 521123fdad1ff3dac8313eaf6630a0ad3bd699b5 (diff) | |
download | libpinyin-22149d09c7352bb88c1bd291f548c02b0454e7a2.tar.gz libpinyin-22149d09c7352bb88c1bd291f548c02b0454e7a2.tar.xz libpinyin-22149d09c7352bb88c1bd291f548c02b0454e7a2.zip |
add phonetic_key_matrix.cpp
Diffstat (limited to 'src/storage/phonetic_key_matrix.cpp')
-rw-r--r-- | src/storage/phonetic_key_matrix.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/storage/phonetic_key_matrix.cpp b/src/storage/phonetic_key_matrix.cpp new file mode 100644 index 0000000..954488e --- /dev/null +++ b/src/storage/phonetic_key_matrix.cpp @@ -0,0 +1,27 @@ +/* + * 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 "phonetic_key_matrix.h" + +bool fill_phonetic_key_matrix_from_chewing_keys(PhoneticKeyMatrix * matrix, + ChewingKeyVector * keys, + ChewingKeyRestVector * key_rests); + |