From 119c406b2e1cc555e133ac9bba58a150179033ff Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 21 Oct 2013 11:29:19 +0800 Subject: rename files --- src/pinyin_internal.cpp | 4 --- src/pinyin_internal.h | 73 ------------------------------------------------- src/zhuyin_internal.cpp | 4 +++ src/zhuyin_internal.h | 73 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+), 77 deletions(-) delete mode 100644 src/pinyin_internal.cpp delete mode 100644 src/pinyin_internal.h create mode 100644 src/zhuyin_internal.cpp create mode 100644 src/zhuyin_internal.h diff --git a/src/pinyin_internal.cpp b/src/pinyin_internal.cpp deleted file mode 100644 index 79fb688..0000000 --- a/src/pinyin_internal.cpp +++ /dev/null @@ -1,4 +0,0 @@ -#include "pinyin_internal.h" - - -/* Place holder for pinyin internal library. */ diff --git a/src/pinyin_internal.h b/src/pinyin_internal.h deleted file mode 100644 index 8a2307b..0000000 --- a/src/pinyin_internal.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * libzhuyin - * Library to deal with zhuyin. - * - * Copyright (C) 2011 Peng Wu - * - * 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. - */ - - -#ifndef PINYIN_INTERNAL_H -#define PINYIN_INTERNAL_H - -#include -#include "novel_types.h" -#include "memory_chunk.h" -#include "zhuyin_custom2.h" -#include "chewing_key.h" -#include "pinyin_parser2.h" -#include "pinyin_phrase2.h" -#include "chewing_large_table.h" -#include "phrase_large_table2.h" -#include "facade_chewing_table.h" -#include "facade_phrase_table2.h" -#include "phrase_index.h" -#include "phrase_index_logger.h" -#include "ngram.h" -#include "lookup.h" -#include "pinyin_lookup2.h" -#include "phrase_lookup.h" -#include "tag_utility.h" -#include "table_info.h" - - -/* training module */ -#include "flexible_ngram.h" - - -/* define filenames */ -#define SYSTEM_TABLE_INFO "table.conf" -#define USER_TABLE_INFO "user.conf" -#define SYSTEM_BIGRAM "bigram.db" -#define USER_BIGRAM "user_bigram.db" -#define DELETED_BIGRAM "deleted_bigram.db" -#define SYSTEM_PINYIN_INDEX "pinyin_index.bin" -#define USER_PINYIN_INDEX "user_pinyin_index.bin" -#define SYSTEM_PHRASE_INDEX "phrase_index.bin" -#define USER_PHRASE_INDEX "user_phrase_index.bin" - - -using namespace zhuyin; - - -/* the following fixes build on Debian GNU/kFreeBSD */ -#include -#ifndef ENODATA -#define ENODATA ENOENT -#endif - - -#endif diff --git a/src/zhuyin_internal.cpp b/src/zhuyin_internal.cpp new file mode 100644 index 0000000..79fb688 --- /dev/null +++ b/src/zhuyin_internal.cpp @@ -0,0 +1,4 @@ +#include "pinyin_internal.h" + + +/* Place holder for pinyin internal library. */ diff --git a/src/zhuyin_internal.h b/src/zhuyin_internal.h new file mode 100644 index 0000000..8a2307b --- /dev/null +++ b/src/zhuyin_internal.h @@ -0,0 +1,73 @@ +/* + * libzhuyin + * Library to deal with zhuyin. + * + * Copyright (C) 2011 Peng Wu + * + * 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. + */ + + +#ifndef PINYIN_INTERNAL_H +#define PINYIN_INTERNAL_H + +#include +#include "novel_types.h" +#include "memory_chunk.h" +#include "zhuyin_custom2.h" +#include "chewing_key.h" +#include "pinyin_parser2.h" +#include "pinyin_phrase2.h" +#include "chewing_large_table.h" +#include "phrase_large_table2.h" +#include "facade_chewing_table.h" +#include "facade_phrase_table2.h" +#include "phrase_index.h" +#include "phrase_index_logger.h" +#include "ngram.h" +#include "lookup.h" +#include "pinyin_lookup2.h" +#include "phrase_lookup.h" +#include "tag_utility.h" +#include "table_info.h" + + +/* training module */ +#include "flexible_ngram.h" + + +/* define filenames */ +#define SYSTEM_TABLE_INFO "table.conf" +#define USER_TABLE_INFO "user.conf" +#define SYSTEM_BIGRAM "bigram.db" +#define USER_BIGRAM "user_bigram.db" +#define DELETED_BIGRAM "deleted_bigram.db" +#define SYSTEM_PINYIN_INDEX "pinyin_index.bin" +#define USER_PINYIN_INDEX "user_pinyin_index.bin" +#define SYSTEM_PHRASE_INDEX "phrase_index.bin" +#define USER_PHRASE_INDEX "user_phrase_index.bin" + + +using namespace zhuyin; + + +/* the following fixes build on Debian GNU/kFreeBSD */ +#include +#ifndef ENODATA +#define ENODATA ENOENT +#endif + + +#endif -- cgit