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
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- 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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size ckip-0.1.1.tar.gz (4.9 kB) | File type Source | Python version None | Upload date | Hashes View |