Light-weight sentence tokenizer for Chinese languages.
Project description
A light-weight sentence tokenizer for Chinese languages.
Sample Code:
from zh_sentence.tokenizer import tokenize
paragraph_str = "你好吗?你快乐吗?"
sentence_list = tokenize(paragraph_str)
for sentence in sentence_list: print(sentence)
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
zh_sentence-0.0.5.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file zh_sentence-0.0.5.tar.gz
.
File metadata
- Download URL: zh_sentence-0.0.5.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e4f6f01cdbdcf670c1f43097335786ad825cb1aae652c8cd48b57882908d3da |
|
MD5 | 64d5a40957b56fdf1f8458c24c6e7df7 |
|
BLAKE2b-256 | 5e620c5bdce916e4c6fd00ca5b8f58ff005471db15c194833585b338a1eaeb8d |
File details
Details for the file zh_sentence-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: zh_sentence-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09cae6fa90a209924409f73fd4c09afa6b3f402eb018180ed337a849bd39049f |
|
MD5 | 625f4adf6e83e0b32f5365e81384c9e8 |
|
BLAKE2b-256 | 49262bdd4de3a300a7ba6fb34a5f09d7d47a6725bb314dc69bd4cf7c98bd71ef |