搜狗分词工具
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.1.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sougou_fenci-1.1.1.tar.gz.
File metadata
- Download URL: sougou_fenci-1.1.1.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 |
660a35dce6788ceff7632fb6cad8abc528085bce28528010404ca1b6fb0bc079
|
|
| MD5 |
dc1ef49f209f981b97437eea8ad122fd
|
|
| BLAKE2b-256 |
f1ac410fdcbc8d1239391cb03c4c73f9a5a3dda5c7d84187cfdcba88b157428a
|
File details
Details for the file sougou_fenci-1.1.1-py3-none-any.whl.
File metadata
- Download URL: sougou_fenci-1.1.1-py3-none-any.whl
- Upload date:
- Size: 3.2 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 |
91e525370b894a61940474df8765e92ac465e33e07de18d629588efa7dde4bf6
|
|
| MD5 |
947b1328e4b9a7a2f60d6fef62dc8cfa
|
|
| BLAKE2b-256 |
f0cc88a93c28af0abd0e5771fa54c882f18ab846f1d6729356771dc4bfee2194
|