wai.annotations module for managing Festvox audio annotations.
The manual is available here:
https://ufdl.cms.waikato.ac.nz/wai-annotations-manual/
The Festvox annotations are stored in a single text file, with one row per recording:
( FILENAME "TRANSCRIPT" )
The FILENAME
is the name of the file without extension.
Reads speech transcriptions in the Festival FestVox format
- Speech Domain
usage: from-festvox-sp [-I FILENAME] [-i FILENAME] [-N FILENAME] [-n FILENAME] [--seed SEED] [--rel-path REL_PATH]
optional arguments:
-I FILENAME, --inputs-file FILENAME
Files containing lists of input files (can use glob syntax)
-i FILENAME, --input FILENAME
Input files (can use glob syntax)
-N FILENAME, --negatives-file FILENAME
Files containing lists of negative files (can use glob syntax)
-n FILENAME, --negative FILENAME
Files that have no annotations (can use glob syntax)
--seed SEED the seed to use for randomisation
--rel-path REL_PATH the relative path from the annotations file to the audio files
Writes speech transcriptions in the Festival FestVox format
- Speech Domain
usage: to-festvox-sp [--annotations-only] -o PATH [--split-names SPLIT NAME [SPLIT NAME ...]] [--split-ratios RATIO [RATIO ...]]
optional arguments:
--annotations-only skip the writing of data files, outputting only the annotation files
-o PATH, --output PATH
the filename of the FestVox file to write the annotations into
--split-names SPLIT NAME [SPLIT NAME ...]
the names to use for the splits
--split-ratios RATIO [RATIO ...]
the ratios to use for the splits