Skip to content

Commit

Permalink
version update
Browse files Browse the repository at this point in the history
  • Loading branch information
fxsjy committed Nov 13, 2014
1 parent 40c0edf commit 315a411
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2014-11-13: version 0.35
1) 改进词典cache的dump和加载机制;by @gumblex
2)提升关键词提取的性能; by @gumblex
3)关键词提取新增基于textrank算法的子模块; by @singlee
4)修复自定义stopwords功能的bug; by @walkskyer


2014-10-20: version 0.34
1. 提升性能,词典结构由Trie改为Prefix Set,内存占用减少2/3, 详见:https://github.com/fxsjy/jieba/pull/187;by @gumblex
2. 修复关键词提取功能的性能问题
Expand Down
2 changes: 1 addition & 1 deletion jieba/analyse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def set_stop_words(stop_words_path):
if not os.path.exists(abs_path):
raise Exception("jieba: path does not exist: " + abs_path)
content = open(abs_path,'rb').read().decode('utf-8')
lines = content.split('\n')
lines = content.replace("\r","").split('\n')
for line in lines:
STOP_WORDS.add(line)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from distutils.core import setup
setup(name='jieba3k',
version='0.34',
version='0.35',
description='Chinese Words Segementation Utilities',
author='Sun, Junyi',
author_email='[email protected]',
Expand Down

0 comments on commit 315a411

Please sign in to comment.