Narizaka
Tool to make high quality text to speech (tts) corpus from audio + text books.
How it works
First it transcribes audio with whisper ASR, saving all word level timestamps, then it alligns this transcription with original text, if distance is very small we consider it as match and add it to the dataset.
Installation
First, you should install several system dependancies:
On deb linux:
sudo apt install ffmpeg pandoc
on MacOSX:
brew install ffmpeg pandoc libmagic
Then you can install narizaka:
pip install narizaka
or if you want to use the latest development version:
pip install git+https://github.com/patriotyk/narizaka.git
Also if you plan to modify sources:
git clone https://github.com/patriotyk/narizaka.git
pip install -e narizaka/
Flag -e means that you can edit source files in the directory where you have cloned this project and they will be reflected when you run command narizaka
Every tagged commit on the main branch, automatically generates and pushes image to the docker hub. So you can also pull this images:
docker pull patriotyk/narizaka:latest
How to use
Application as input accepts directory that contains audio data, it can be folder or subfolder of audio files, or just one audio file and there also should be one text file tat represents this audio.
This text file, can be any document that accepts pandoc application.
Example:
narizaka test_data/farshrutka
Or
narizaka test_data
to process all books.
This repository contains test_data that includes two audio and text books that you can use for testing.
Metadata
Release files for narizaka 1.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| narizaka-1.2.4.tar.gz | 34.7 kB | Without provenance | Details for narizaka-1.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| narizaka-1.2.4-py3-none-any.whl | Python 3 | none | any | Details for narizaka-1.2.4-py3-none-any.whl |
Total release size: 70.2 kB
Release files / narizaka-1.2.4.tar.gz
| Download URL | narizaka-1.2.4.tar.gz |
|---|---|
| Size | 34.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac15c2554bb1cdcce1b48e8e1836c5ce00a7fa98d853e2a212f641aba6903a64
|
|
BLAKE2b-256 checksum How to use checksums |
138ef68b20fa82798275ced2162e8507471198d045817e41290e5a11e46c2cd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / narizaka-1.2.4-py3-none-any.whl
| Download URL | narizaka-1.2.4-py3-none-any.whl |
|---|---|
| Size | 35.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa42a70815f9444c6265920b4b37a836a6acf2874e3932de8219643ffa50fe65
|
|
BLAKE2b-256 checksum How to use checksums |
da3ae59b201a9ce21775a47c93e41e1be8f7b84d948e6635a5dd675723ac71b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for narizaka 1.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.