Steps:
- Place this script inside your librispeech dataset folder.
- This should the directory structure of the dataset folder:
libri_dataset
|-libri_annotator.py
|-txt
|- sample1.txt
|- sample2.txt
|-wav
|-sample1.wav
|-sample2.wav
- Ensure Notepad++ is installed and set in
PATH
pip install playsound
- Run
python libri_annotator.py
from inside thelibri_dataset
folder.
How to use:
- Press
n
for next sample - Press
p
for previous sample - Press
r
for replay - Press
q
to quit
Tips:
- Dock the Notepad++ window to the right-side and the command-line to the left side (for ease of annotation)
- For Linux, you might have to use something like
gedit
instead ofnotepad++