mirror of
https://github.com/fxsjy/jieba.git
synced 2025-07-10 00:01:33 +08:00
Merge branch 'master' of https://github.com/fxsjy/jieba
This commit is contained in:
commit
2682e887b8
@ -54,6 +54,11 @@ Python 3.x 下的安装
|
||||
作者:Aszxqw
|
||||
地址:https://github.com/aszxqw/cppjieba
|
||||
|
||||
结巴分词Node.js版本
|
||||
================
|
||||
作者:Aszxqw
|
||||
地址:https://github.com/aszxqw/nodejieba
|
||||
|
||||
Algorithm
|
||||
========
|
||||
* 基于Trie树结构实现高效的词图扫描,生成句子中汉字所有可能成词情况所构成的有向无环图(DAG)
|
||||
|
@ -1,5 +1,5 @@
|
||||
from __future__ import with_statement
|
||||
__version__ = '0.31'
|
||||
__version__ = '0.32'
|
||||
__license__ = 'MIT'
|
||||
|
||||
import re
|
||||
|
4
jieba/analyse/__init__.py
Normal file → Executable file
4
jieba/analyse/__init__.py
Normal file → Executable file
@ -1,9 +1,9 @@
|
||||
import jieba
|
||||
import os
|
||||
try:
|
||||
from analyzer import ChineseAnalyzer
|
||||
from analyzer import ChineseAnalyzer
|
||||
except ImportError:
|
||||
pass
|
||||
pass
|
||||
|
||||
_curpath=os.path.normpath( os.path.join( os.getcwd(), os.path.dirname(__file__) ) )
|
||||
f_name = os.path.join(_curpath,"idf.txt")
|
||||
|
Loading…
x
Reference in New Issue
Block a user