分词工具
python版(有node版)
安装
pip install sougou_fenci
command-line
搜狗分词
$ sougou_fenci 武汉市长江大桥
武汉市 n
长江 n
大桥 n
百度分词
$ baidu_fenci 武汉市长江大桥
武汉长江大桥 地名
sougou 分词 code
import sougou_fenci
resp = sougoou_fenci.sougou("武汉市长江大桥")
for result_item in resp.result:
print(row_format.format(result_item[0], result_item[1]))
# 结 果
# 武汉市 n
# 长江 n
# 大桥 n
baidu 分词 code
import sougou_fenci
resp = sougoou_fenci.baidu("武汉市长江大桥")
for result_item in resp.result:
print(row_format.format(result_item[0], result_item[1]))
# 结 果
# 武汉市长江大桥 地名
Metadata
Release files for sougou-fenci 1.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sougou_fenci-1.1.9.tar.gz | 2.8 kB | Without provenance | Details for sougou_fenci-1.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sougou_fenci-1.1.9-py3-none-any.whl | Python 3 | none | any | Details for sougou_fenci-1.1.9-py3-none-any.whl |
Total release size: 6.5 kB
Release files / sougou_fenci-1.1.9.tar.gz
| Download URL | sougou_fenci-1.1.9.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e9d5586a942e7e6b29dd195082c61ee9c3ca6fe57aeba1fb79eb4b19640edd2
|
|
BLAKE2b-256 checksum How to use checksums |
a64ce65ebdf790ed60284e22d5d72e315f6c54b7515d8821f6aeab8e92296dd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / sougou_fenci-1.1.9-py3-none-any.whl
| Download URL | sougou_fenci-1.1.9-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d80b4dc42f7412e05393a80b88932a9b356e8b873e8082d99e028967c26a0023
|
|
BLAKE2b-256 checksum How to use checksums |
da45d2e5402fa6ec6317dca94d1f732fe367dc100ad722627cf6ba50c0d27c03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for sougou-fenci 1.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.