Skip to main content

txtsplit

Tortoise TTS's text splitter, repackaged. All credit goes to the author of Tortoise TTS.

Installation

pip install txtsplit

(0 dependencies)

Usage

from txtsplit import txtsplit
print(txtsplit("Long text", desired_length=100, max_length=200))

License & Credits

Most of the code was taken from Tortoise TTS.

Apache 2.0, like Tortoise TTS.

Download files

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

Source Distribution

txtsplit-1.0.0.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file txtsplit-1.0.0.tar.gz.

File metadata

  • Download URL: txtsplit-1.0.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.3.dev62+gfe1885f CPython/3.10.12

File hashes

Hashes for txtsplit-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c457bcb05ac34ac01f8259170664b147c7128cb8af62802f7375d65cf125b86e
MD5 390e7dfbf8843a38da91fa72c4851b90
BLAKE2b-256 eb3ef4b64aac1efa43fd8ad49ad42345d12a8343a631233f120485178a8163ec

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page