搜狗分词工具
Project description
搜狗分词工具
python版(有node版)
安装
pip install sougou_fenci
command-line
$ sougou_fenci 武汉市长江大桥 -> 武汉市 n 长江 n 大桥 n
code
import sougou_fenci
resp = sougoou_fenci.get_fenci("武汉市长江大桥")
for result_item in resp.result:
print(row_format.format(result_item[0], result_item[1]))
# 结 果
# 武汉市 n
# 长江 n
# 大桥 n
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sougou_fenci-1.1.8.tar.gz
(2.7 kB
view details)
Built Distribution
File details
Details for the file sougou_fenci-1.1.8.tar.gz
.
File metadata
- Download URL: sougou_fenci-1.1.8.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.13.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8294a8d5500e02b9c7d8331cc232c6f64447c4ad6a4cf16e4c3b517679e88f85 |
|
MD5 | 3f9eaa66c820bbef505d81775687f191 |
|
BLAKE2b-256 | 0ff913ac908aa762ffcd55cdead0477fdc17f391bc951ccab346478a7015fb68 |
File details
Details for the file sougou_fenci-1.1.8-py3-none-any.whl
.
File metadata
- Download URL: sougou_fenci-1.1.8-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.13.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab355e522ac70eb7fb1b040ef2ae5a9fd38ff1cc0cf6d5993e6256b533813ffe |
|
MD5 | ec55a6665fa7238f6445009acbfc6451 |
|
BLAKE2b-256 | 09450d13240a75600fe5ca97695bb2cb4928951dd11a5abf6aaf982a506808bb |