Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lora_lang_splitter-0.1.0.tar.gz (1.4 kB view hashes)

Uploaded Source

Built Distribution

lora_lang_splitter-0.1.0-py3-none-any.whl (1.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page