summaryrefslogtreecommitdiffstats
path: root/utils/training/prune_k_mixture_model.cpp
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-05-04 11:35:30 +0800
committerPeng Wu <alexepico@gmail.com>2011-05-04 11:35:30 +0800
commitdb9ed7743d01b898b1cdc086339da1dd79047a18 (patch)
tree7b9a632cf973d0cd278224598b41965c06a13776 /utils/training/prune_k_mixture_model.cpp
parent2358bbb3d0348dd940fa10fd40dbe0f2af6d9db0 (diff)
downloadlibpinyin-db9ed7743d01b898b1cdc086339da1dd79047a18.tar.gz
libpinyin-db9ed7743d01b898b1cdc086339da1dd79047a18.tar.xz
libpinyin-db9ed7743d01b898b1cdc086339da1dd79047a18.zip
begin to write prune k mixture model
Diffstat (limited to 'utils/training/prune_k_mixture_model.cpp')
-rw-r--r--utils/training/prune_k_mixture_model.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/training/prune_k_mixture_model.cpp b/utils/training/prune_k_mixture_model.cpp
new file mode 100644
index 0000000..f6f0bcc
--- /dev/null
+++ b/utils/training/prune_k_mixture_model.cpp
@@ -0,0 +1,9 @@
+#include "pinyin.h"
+#include "k_mixture_model.h"
+
+static guint32 g_prune_k = 3;
+static parameter_t g_prune_poss = 0.99;
+
+int main(int argc, char * argv[]){
+ return 0;
+}