Skip to content

Commit

Permalink
fix partial fst data size
Browse files Browse the repository at this point in the history
  • Loading branch information
mocobeta committed Jul 28, 2017
1 parent 712617d commit 2eca0ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipadic/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def collect(dicdir, enc, outdir, workdir):
_part =[]
_cnt = 0
for surface, mid in inputs:
if len(_part) >= 500000:
if len(_part) >= 200000:
with open(os.path.join(workdir, 'input%d.pkl' % _cnt), 'wb') as f:
pickle.dump(_part, f)
_part = []
Expand Down
Binary file modified ipadic/sysdic.zip
Binary file not shown.

0 comments on commit 2eca0ce

Please sign in to comment.