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.pyfrom inside thelibri_datasetfolder.
How to use:
- Press
nfor next sample - Press
pfor previous sample - Press
rfor replay - Press
qto 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
geditinstead ofnotepad++