From ba87fcb01f9a48caea6015f9dfdf63e91a7b3534 Mon Sep 17 00:00:00 2001 From: fxsjy Date: Mon, 20 Oct 2014 14:08:09 +0800 Subject: [PATCH] remove trie, use prefix set instead --- Changelog | 5 +++++ jieba/__init__.py | 2 +- setup.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 99be4ee..b96e658 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,8 @@ +2014-10-20: version 0.34 +1. 提升性能,词典结构由Trie改为Prefix Set,内存占用减少2/3, 详见:https://github.com/fxsjy/jieba/pull/187;by @gumblex +2. 修复关键词提取功能的性能问题 + + 2014-08-31: version 0.33 1. 支持自定义stop words; by @fukuball 2. 支持自定义idf词典; by @fukuball diff --git a/jieba/__init__.py b/jieba/__init__.py index 222cab0..ebdf236 100644 --- a/jieba/__init__.py +++ b/jieba/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.32' +__version__ = '0.34' __license__ = 'MIT' import re diff --git a/setup.py b/setup.py index 931f7a4..a70200b 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from distutils.core import setup setup(name='jieba3k', - version='0.33', + version='0.34', description='Chinese Words Segementation Utilities', author='Sun, Junyi', author_email='ccnusjy@gmail.com',