Skip to main content

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


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.

Supported by

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