Light-weight sentence tokenizer for Korean.
Project description
A light-weight sentence tokenizer for Korean.
Half-width punctuation is generally used in Korean, but this tokenizer also supports full-width punctuation. (For details about full-width punctuation in Korean, please see https://www.w3.org/TR/klreq/).
Sample Code:
from kr_sentence.tokenizer import tokenize
paragraph_str = "저는 미국인이에요. 만나서 반갑습니다."
sentence_list = tokenize(paragraph_str)
for sentence in sentence_list: print(sentence)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kr_sentence-0.0.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for kr_sentence-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce30648b3211227e467b4f1ecb4fa97287b20e0c434e5dd14c5320dcda07031a |
|
MD5 | 532104d26a00b7717ea6b7dd4b51e9e8 |
|
BLAKE2b-256 | 917e69bead16515488bf6e52e49a62a0ee4d56715155044e0fcb2868f63ec0b9 |