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.2.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.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sougou_fenci-1.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c59c41c05b90e2b148e9125a2b4d2c752ce9a1a171b739e1981bdd8fb87d048a
MD5 fee4f9432b6dc987f7fe479f0eb7a4da
BLAKE2b-256 671536478e268fdb5ecbbf44d55c4f0c7da76ffa78e6dc7bba5e14e0acf750bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sougou_fenci-1.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 055c02df1ecbf5dd244002ddc8f5d41a150e0741c5feec21d6b47352bc7719a9
MD5 f7c3b699f042e083d57d83b0c1afa9ae
BLAKE2b-256 8f79865c57fe21525ae977a6e2d5786fed6918cec56b7112a6cc098aaac2ab3b

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