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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file lora_lang_splitter-0.1.0.tar.gz.

File metadata

  • Download URL: lora_lang_splitter-0.1.0.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.7.10 Linux/5.15.0-41-generic

File hashes

Hashes for lora_lang_splitter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 20e52b0816c5a6c6e2edc8cfd7d9be4fd1aaaf1aa198dd2ecd1a88b68021a803
MD5 5c5ade5aaf300f997fa016b41139b96c
BLAKE2b-256 2d1a64ea8353e65fdf6420d37dc10c770247f04e675a076126b07efa3aae54fd

See more details on using hashes here.

File details

Details for the file lora_lang_splitter-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lora_lang_splitter-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.7.10 Linux/5.15.0-41-generic

File hashes

Hashes for lora_lang_splitter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e2c244e1d8949009e7446385097379e3affe8d52be68a6e6dcb7fb8608d79dc
MD5 2c4aa8c6b4f7fff64d0fe7d3ebfab4d5
BLAKE2b-256 a82e723a255d035c213adcf74164ab48b7fc03733784afdc997b004e4f40d0f4

See more details on using hashes here.

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