搜狗分词工具
Project description
搜狗分词工具
举例
使用方式 command-line
$ sougou_fenci 武汉市长江大桥 -> 武汉市 n 长江 n 大桥 n
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.0.0.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for sougou_fenci-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09e510ec4cd1c0fcc4183719f813d0f7c72ab624d046059c15d9eff3d53bee5f |
|
MD5 | 00351acbea396a49d53ea6a33ff766de |
|
BLAKE2b-256 | 595c96cd65da02db2d8f4bcb16d631b0ac2b62088591513e360f1a76efc9bb2b |