Skip to main content

搜狗分词工具

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sougou_fenci-1.0.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file sougou_fenci-1.0.0.tar.gz.

File metadata

  • Download URL: sougou_fenci-1.0.0.tar.gz
  • Upload date:
  • Size: 2.0 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

Hashes for sougou_fenci-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1c73ce45fbc3c097c2317ff5756530639dcbb32003a9d627e1c83550751e63b6
MD5 6e138dbb7cce4794cfb04fde31c55a4c
BLAKE2b-256 17f7090b70628903ce54331f34f652b57ce3ba49bf7c3ec2a14f78f51e6c7e40

See more details on using hashes here.

File details

Details for the file sougou_fenci-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sougou_fenci-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 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

Hashes for sougou_fenci-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09e510ec4cd1c0fcc4183719f813d0f7c72ab624d046059c15d9eff3d53bee5f
MD5 00351acbea396a49d53ea6a33ff766de
BLAKE2b-256 595c96cd65da02db2d8f4bcb16d631b0ac2b62088591513e360f1a76efc9bb2b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page