https://github.com/messense/cjieba-py
Python cffi binding to CppJieba
https://github.com/messense/cjieba-py
cffi chinese-word-segmentation jieba jieba-chinese python-bindings word-segmentation
Last synced: 11 days ago
JSON representation
Python cffi binding to CppJieba
- Host: GitHub
- URL: https://github.com/messense/cjieba-py
- Owner: messense
- License: mit
- Created: 2018-01-12T14:05:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T09:51:55.000Z (over 4 years ago)
- Last Synced: 2024-11-01T08:42:28.826Z (6 months ago)
- Topics: cffi, chinese-word-segmentation, jieba, jieba-chinese, python-bindings, word-segmentation
- Language: Python
- Homepage:
- Size: 4.06 MB
- Stars: 15
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cjieba-py
[](https://travis-ci.org/messense/cjieba-py)
[](https://codecov.io/gh/messense/cjieba-py)
[](https://pypi.python.org/pypi/cjieba)Python cffi binding to [cppjieba](https://github.com/yanyiwu/cppjieba) via [cppjieba-cabi](https://github.com/messense/cppjieba-cabi)
## Installation
```bash
pip install -U cjieba
```## Example
```python
import cjiebacjieba.cut('今天天气怎么样')
```## License
This work is released under the MIT license. A copy of the license is provided in the [LICENSE](./LICENSE) file.