A simple text splitter based on Tortoise for use in text-to-speech applications
Project description
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.
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
txtsplit-1.0.0.tar.gz
(6.2 kB
view hashes)