summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-06-09 10:40:27 +0800
committerPeng Wu <alexepico@gmail.com>2011-06-09 10:40:27 +0800
commitf62f97a9ec2f78ce77fce9cfad46e77dadfad290 (patch)
treebf829d7067b74ed2b409137dcaaf1fdbe26e88e6 /utils
parente731a39df3eed466093c977eb1f4dd67ca8bbefc (diff)
downloadlibpinyin-f62f97a9ec2f78ce77fce9cfad46e77dadfad290.tar.gz
libpinyin-f62f97a9ec2f78ce77fce9cfad46e77dadfad290.tar.xz
libpinyin-f62f97a9ec2f78ce77fce9cfad46e77dadfad290.zip
refine code in k mixture model header
Diffstat (limited to 'utils')
-rw-r--r--utils/training/k_mixture_model.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/training/k_mixture_model.h b/utils/training/k_mixture_model.h
index 086455f..710fe0b 100644
--- a/utils/training/k_mixture_model.h
+++ b/utils/training/k_mixture_model.h
@@ -120,11 +120,11 @@ typedef struct{
typedef struct{
/* dummy varibles */
guint32 dummy[3];
- /* the freq of uni-gram. see m_total_freq in magic header also. */
- guint32 m_freq;
- guint32 dummy2[3];
/* the total number of instances of word W1. */
guint32 m_WC;
+ guint32 dummy2[3];
+ /* the freq of uni-gram. see m_total_freq in magic header also. */
+ guint32 m_freq;
} KMixtureModelArrayHeader;
typedef struct{