Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

restore gen_unigram.cpp

  • Loading branch information...
commit 48decbf44e5985a6200f5f800f92ec868372cc46 1 parent ffc216e
@epico authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 utils/training/gen_unigram.cpp
View
4 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;
Please sign in to comment.
Something went wrong with that request. Please try again.