Skip to main content

CKIP chinese text segmentation Python API client

Project description

提供 中研院中文斷詞系統 的 Python API 綁定

安裝

$ pip install ckip

使用方式

from ckip import CKIP

client = CKIP('username', 'password')

# Return list of list of tuples, where each list item represents a sentence
# and each tuple having the format of (term, POS).
client.Segment('台新金控12月3日將召開股東臨時會進行董監改選。')

Contributing

  1. Fork it

  2. Create your feature branch (git checkout -b my-new-feature)

  3. Commit your changes (git commit -am 'Add some feature')

  4. Push to the branch (git push origin my-new-feature)

  5. Create new Pull Request

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

ckip-0.1.2.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file ckip-0.1.2.tar.gz.

File metadata

  • Download URL: ckip-0.1.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ckip-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6c18b59244d5b74a89dcb17ba572afd8124b5949c4600c426b82de083bd77972
MD5 d143fec98372bb1c4fe5bdb78b71dfeb
BLAKE2b-256 560e508d249bcb7db9b2671fd509628831ddf044e24e6084f1ced5af254923ec

See more details on using hashes here.

Supported by

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