A package to split a text with both Chinese and English. Returns two separate Chinese and English strings.
Project description
import
from lora_lang_splitter import split_eng_cn
Usage
english_text, chinese_text = split_eng_cn("Markov's long 中文 text")
Output
str(english_text), str(chinese_text)
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
Built Distribution
Close
Hashes for lora_lang_splitter-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e2c244e1d8949009e7446385097379e3affe8d52be68a6e6dcb7fb8608d79dc |
|
MD5 | 2c4aa8c6b4f7fff64d0fe7d3ebfab4d5 |
|
BLAKE2b-256 | a82e723a255d035c213adcf74164ab48b7fc03733784afdc997b004e4f40d0f4 |