Permalink
Browse files

restore gen_unigram.cpp

  • Loading branch information...
1 parent ffc216e commit 48decbf44e5985a6200f5f800f92ec868372cc46 @epico committed Mar 23, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 utils/training/gen_unigram.cpp
@@ -40,10 +40,12 @@ int main(int argc, char * argv[]){
DICTIONARY != table_info->m_file_type)
continue;
- guint32 freq = 2;
+ guint32 freq = 1;
+#if 0
/* skip GBK_DICTIONARY. */
if (GBK_DICTIONARY == table_info->m_dict_index)
freq = 1;
+#endif
const char * binfile = table_info->m_system_filename;

0 comments on commit 48decbf

Please sign in to comment.