Skip to content

daxida/lingq-fa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forced alignment: split audio (one or more files) to match text (one or more files).

This adapts aeneas to be compatible with LingQ format.

Even if you do not use LingQ yourself, you may be interested if want to match audio to text but you do not satisfy aeneas expected singlefile inputs. This instead should work with the following generic book structure:

book
├── texts
│   ├── text1.txt
│   └── text2.txt
└── audios
    ├── audio1.mp3
    ├── audio2.mp3
    └── audio3.mp3

Assuming that the contents of the merged texts should perfectly match the merged audios.

More details are available as docstrings. Only tested for greek and japanese.

Install and run

# Install
pip install git+/~https://github.com/daxida/lingq-fa

# Replace this path with a path to your book
fa tests/fixtures/book

# More details at
fa --help

About

Forced alignment with aeneas

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages