summaryrefslogtreecommitdiffstats
path: root/utils/training/merge_k_mixture_model.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-05-11 16:23:31 +0800
committerPeng Wu <alexepico@gmail.com>2011-05-11 16:23:31 +0800
commit9ebfcbba3dc5d069dd8bf89fcb69b2d388aa3289 (patch)
tree2bd99cbe7bf2ab592eb2836bb7cfee8b55910d32 /utils/training/merge_k_mixture_model.cpp
parentd757c8339b3e7bd747777f3c5fc3b7d7ca49fd1c (diff)
downloadlibpinyin-9ebfcbba3dc5d069dd8bf89fcb69b2d388aa3289.tar.gz
libpinyin-9ebfcbba3dc5d069dd8bf89fcb69b2d388aa3289.tar.xz
libpinyin-9ebfcbba3dc5d069dd8bf89fcb69b2d388aa3289.zip
begin to write merge k mixture model.
Diffstat (limited to 'utils/training/merge_k_mixture_model.cpp')
-rw-r--r--utils/training/merge_k_mixture_model.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/utils/training/merge_k_mixture_model.cpp b/utils/training/merge_k_mixture_model.cpp
new file mode 100644
index 0000000..dd7ab6d
--- /dev/null
+++ b/utils/training/merge_k_mixture_model.cpp
@@ -0,0 +1,31 @@
+/*
+ * libpinyin
+ * Library to deal with pinyin.
+ *
+ * Copyright (C) 2011 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "pinyin.h"
+
+void print_help(){
+ printf("merge_k_mixture_model <RESULT_FILENAME> {<SOURCE_FILENAME>}+\n");
+}
+
+int main(int argc, char * argv[]){
+ const char * result_filename = NULL;
+ return 0;
+}