-
Notifications
You must be signed in to change notification settings - Fork 0
Procedure
Ben Chen edited this page Jul 20, 2017
·
1 revision
- File list (train|test/sph.flist)
- Transcriptions
- Collect
- Normalization and Segmentation
- Delete corrupted data
- Make segment files from transcript (segments, sph.scp)
segments file format is: utt-id side-id start-time end-time, e.g.: sw02001-A_000098-001156 sw02001-A 0.98 11.56 - wav.scp (Map utt-id to file)
- reco2file_and_channel (sw02001-A sw02001 A)
- utt2spk, spk2utt
-
text
utt_id WORD1 WORD2 WORD3 WORD4 ... -
segments
utt_id file_id start_time end_time -
wav.scp (may need convertion on the fly)
file_id path/file -
utt2spk
utt_id spkr -
spk2utt
(can be generated with
utils/fix_data_dir.sh data/train)spkr utt_id1 utt_id2 utt_id3
-
Extract full vocabulary from generated 'text'
-
Split into English and Chinese
-
CMUdict
-
Strip stress and pronunciation variant markers from cmudict
-
Search for OOV words
-
Setup g2p and generate oov lexicon
-
Dowload pre-trained Sequitur G2P model
-
Prepare pronunciations for OOV words with the g2p model
-
cmu phoneme to pinyin phoneme
# [in data/local/dict/ ]
# lexicon.txt
# extra_questions.txt
# nonsilence_phones.txt
# optional_silence.txt
# silence_phones.txt
- Get CMUdict
- Dict Prep
- silence_phones.txt (literals, one per line)
- nonsilence_phones.txt (each line is a list of phones that correspond really to the same base phone.)
- extra_questions.txt (stress markings or tone markings)
- lexicon.txt (the lexicon need to be reduced to only the words present in the corpus)
- (optional, replaces lexicon.txt) lexiconp.txt (has the pronunciation probability as the second field)
repeat the previous 2 steps with additional triphone training algorithms (delta+delta-delta training, LDA-MLLT, and SAT) for more refined models. The alignment algorithms include speaker independent alignments and FMLLR.
-
-
Overview
- Terminoloty
- Overall Procedure
-
Procedure
- Data Preperation
- Dictionay Preperation
- Extract MFCC features
- Train monophone models
- Align audio with the acoustic models
- Train triphone models
- Re-align audio with the acoustic models & re-train triphone models
- Kaldi DNN Simple Notes
-
Overview