begin to write eval correction rate
authorPeng Wu <alexepico@gmail.com>
Mon, 25 Jul 2011 07:34:09 +0000 (15:34 +0800)
committerPeng Wu <alexepico@gmail.com>
Mon, 25 Jul 2011 07:34:09 +0000 (15:34 +0800)
utils/training/Makefile.am
utils/training/eval_correction_rate.cpp [new file with mode: 0644]

index a8b5478..38fdd60 100644 (file)
@@ -36,7 +36,8 @@ noinst_PROGRAMS               = gen_ngram \
                          import_k_mixture_model \
                          export_k_mixture_model \
                          k_mixture_model_to_interpolation \
-                         validate_k_mixture_model
+                         validate_k_mixture_model \
+                         eval_correction_rate
 
 gen_ngram_SOURCES      = gen_ngram.cpp
 
@@ -85,3 +86,7 @@ k_mixture_model_to_interpolation_LDADD = ../../src/libpinyin.la @GLIB2_LDFLAGS@
 validate_k_mixture_model_SOURCES = validate_k_mixture_model.cpp
 
 validate_k_mixture_model_LDADD = ../../src/libpinyin.la @GLIB2_LDFLAGS@
+
+eval_correction_rate_SOURCES = eval_correction_rate.cpp
+
+eval_correction_rate_LDADD = ../../src/libpinyin.la @GLIB2_LDFLAGS@
\ No newline at end of file
diff --git a/utils/training/eval_correction_rate.cpp b/utils/training/eval_correction_rate.cpp
new file mode 100644 (file)
index 0000000..6009251
--- /dev/null
@@ -0,0 +1,28 @@
+/* 
+ *  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"
+
+int main(int argc, char * argv[]){
+    return 0;
+}