A utility library for working with speech-to-text transcriptions.
Project description
stt-utils
A utility library for working with word-level speech-to-text timestamps. The main goal is to simplify working with timestamps generated by openai's whisper model with "word" timestamp_granularities.
Features
- Realign word timestamps with full text
- Merge several transcriptions together
- (Optional dependency) Split long audio into smaller segments by moments of silence.
Installation
pip install stt-utils
With audio tools support:
pip install "stt-utils[audio]"
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stt_utils-0.1.0.tar.gz.
File metadata
- Download URL: stt_utils-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5133169b19ce541bf6fac490bca6796bf2848895316d99ad9e193373f3d53ae6
|
|
| MD5 |
022a23f8c0e87af33bf4c63e898b5a02
|
|
| BLAKE2b-256 |
f06ec9a731087a5a259121141c19afa0b429dc2229ccc1601982a928060c5835
|
File details
Details for the file stt_utils-0.1.0-py3-none-any.whl.
File metadata
- Download URL: stt_utils-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cee2a217500bba1897673143f95190b2321a6481d89ae73e9777c6444ddf627c
|
|
| MD5 |
e4c802fb3f3b6934e4dd93092211471b
|
|
| BLAKE2b-256 |
2fa36435513655be477339392a675e7ecab3deddde12ca4718d456fd12d85bd0
|