Skip to main content

搜狗分词工具

Project description

搜狗分词工具

python版(有node版)

安装

pip install sougou_fenci

command-line

$ sougou_fenci 武汉市长江大桥 -> 武汉市 n 长江 n 大桥 n commandline

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


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.6.tar.gz (2.8 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.1.6-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sougou_fenci-1.1.6.tar.gz
  • Upload date:
  • Size: 2.8 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.1.6.tar.gz
Algorithm Hash digest
SHA256 153276f029a19df87cd4f0ffccb85dfeaf288b2cbdee52a96ffd80dac6d9f233
MD5 28fb99d51e5779bfd7bb7796afd47fcb
BLAKE2b-256 a7a21ed8352b9a7f9c34d9664222036647f941b07cc57561bf743b31eb64262f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sougou_fenci-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a481ac940234948588ac71ee9792563971f16bd8d19657691b6b21d3c962b497
MD5 3cd21d0349b2d5d404bc70cd9b48d7d8
BLAKE2b-256 a22735c54068a9ec3eb2e41124b8b7eafcfd70429755aff636ed0679eadb5b83

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