kaldi-asr / kaldi

kaldi-asr/kaldi is the official location of the Kaldi project.
http://kaldi-asr.org
Other
14.03k stars 5.3k forks source link

librispeech: the bug in prepare_dict.sh #4854

Open gwyanCN opened 1 year ago

gwyanCN commented 1 year ago

when I run the run.sh. I come to the following problem at the stage 3.

Preparing phone lists and clustering questions at -e line 2, <> line 4. 2 silence phones saved to: data/local/dict_nosp/silence_phones.txt 1 optional silence saved to: data/local/dict_nosp/optional_silence.txt 0 non-silence phones saved to: data/local/dict_nosp/nonsilence_phones.txt 1 extra triphone clustering-related questions saved to: data/local/dict_nosp/extra_questions.txt Lexicon text file saved as: data/local/dict_nosp/lexicon.txt utils/prepare_lang.sh data/local/dict_nosp data/local/lang_tmp_nosp data/lang_nosp Checking data/local/dict_nosp/silence_phones.txt ... --> reading data/local/dict_nosp/silence_phones.txt --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> data/local/dict_nosp/silence_phones.txt is OK

Checking data/local/dict_nosp/optional_silence.txt ... --> reading data/local/dict_nosp/optional_silence.txt --> text seems to be UTF-8 or ASCII, checking whitespaces --> text contains only allowed whitespaces --> data/local/dict_nosp/optional_silence.txt is OK

Checking data/local/dict_nosp/nonsilence_phones.txt ... --> ERROR: data/local/dict_nosp/nonsilence_phones.txt is empty or not exists Error validating directory data/local/dict_nosp local/format_lms.sh: expected data/lang_nosp/words.txt to exist.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale by a bot solely because it has not had recent activity. Please add any comment (simply 'ping' is enough) to prevent the issue from being closed for 60 more days if you believe it should be kept open.