File tree 2 files changed +7
-34
lines changed
2 files changed +7
-34
lines changed Original file line number Diff line number Diff line change @@ -29,24 +29,14 @@ http://jiebademo.ap01.aws.af.cm/
29
29
30
30
安装说明
31
31
=======
32
- Python 2.x
33
- -----------
34
- * 全自动安装:` easy_install jieba ` 或者 ` pip install jieba `
32
+
33
+ 代码对 Python 2/3 均兼容
34
+
35
+ * 全自动安装:` easy_install jieba ` 或者 ` pip install jieba ` / ` pip3 install jieba `
35
36
* 半自动安装:先下载 http://pypi.python.org/pypi/jieba/ ,解压后运行 ` python setup.py install `
36
37
* 手动安装:将 jieba 目录放置于当前目录或者 site-packages 目录
37
38
* 通过 ` import jieba ` 来引用
38
39
39
- Python 3.x
40
- -----------
41
- * 目前 master 分支对 Python 2/3 兼容
42
-
43
- ``` shell
44
- git clone https://github.com/fxsjy/jieba.git
45
- python3 setup.py install
46
- ```
47
-
48
- * 或使用pip3安装旧版本: pip3 install jieba3k
49
-
50
40
算法
51
41
========
52
42
* 基于前缀词典实现高效的词图扫描,生成句子中汉字所有可能成词情况所构成的有向无环图 (DAG)
Original file line number Diff line number Diff line change 25
25
26
26
- 支持繁体分词
27
27
- 支持自定义词典
28
+ - MIT 授权协议
28
29
29
30
在线演示: http://jiebademo.ap01.aws.af.cm/
30
31
31
32
安装说明
32
33
========
33
34
34
- Python 2.x
35
- ----------
35
+ 代码对 Python 2/3 均兼容
36
36
37
- - 全自动安装: ``easy_install jieba`` 或者 ``pip install jieba``
37
+ - 全自动安装: ``easy_install jieba`` 或者 ``pip install jieba`` / ``pip3 install jieba``
38
38
- 半自动安装:先下载 https://pypi.python.org/pypi/jieba/ ,解压后运行
39
39
python setup.py install
40
40
- 手动安装:将 jieba 目录放置于当前目录或者 site-packages 目录
41
41
- 通过 ``import jieba`` 来引用
42
42
43
- Python 3.x
44
- ----------
45
-
46
- 见 https://pypi.python.org/pypi/jieba3k/
47
-
48
- - 目前 master 分支是只支持 Python 2.x 的
49
- - Python 3.x 版本的分支也已经基本可用:
50
- https://github.com/fxsjy/jieba/tree/jieba3k
51
-
52
- .. code:: bash
53
-
54
- git clone https://github.com/fxsjy/jieba.git
55
- git checkout jieba3k
56
- python setup.py install
57
-
58
- - 或使用pip3安装: pip3 install jieba3k
59
-
60
43
"""
61
44
62
45
setup (name = 'jieba' ,
You can’t perform that action at this time.
0 commit comments