diff options
author | Peng Wu <alexepico@gmail.com> | 2011-06-23 13:41:50 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-06-23 13:41:50 +0800 |
commit | e4302b6af590bb61bc7034f47f4e3256911cded8 (patch) | |
tree | d12d542aeaad3f0b14d744c27aa3120c12f4da30 /utils | |
parent | f67bd159b67464404b74fe3df0ee732dae995ac4 (diff) | |
download | libpinyin-e4302b6af590bb61bc7034f47f4e3256911cded8.tar.gz libpinyin-e4302b6af590bb61bc7034f47f4e3256911cded8.tar.xz libpinyin-e4302b6af590bb61bc7034f47f4e3256911cded8.zip |
refine comments
Diffstat (limited to 'utils')
-rw-r--r-- | utils/training/gen_k_mixture_model.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/training/gen_k_mixture_model.cpp b/utils/training/gen_k_mixture_model.cpp index 3e83945..e09abe2 100644 --- a/utils/training/gen_k_mixture_model.cpp +++ b/utils/training/gen_k_mixture_model.cpp @@ -25,11 +25,12 @@ #include <locale.h> #include "k_mixture_model.h" +/* Hash token of Hash token of word count. */ typedef GHashTable * HashofDocument; typedef GHashTable * HashofSecondWord; + typedef GHashTable * HashofUnigram; -/* Hash token of Hash token of word count. */ static guint32 g_maximum_occurs = 20; static parameter_t g_maximum_increase_rates = 3.; static bool g_train_pi_gram = true; |