搜狗分词工具
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.7.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for sougou_fenci-1.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfd6604a88d8175cf9eb45d427f8de300ddfa7996bb96533f471efb2500f604c |
|
MD5 | aed272994393ad1d23c1aa8e4c8ae263 |
|
BLAKE2b-256 | c64059a3f190800c5328338d3079959fb7f401e9af6d8453c64ed010f3502b73 |