Skip to main content

A simple text splitter based on Tortoise for use in text-to-speech applications

Project description


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


pip install txtsplit

(0 dependencies)


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.

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

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

Uploaded Source

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