kaldi-asr / kaldi

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

egs/aidatatang/s5/local/prepare_dict.sh run error #3380

Closed boystray closed 5 years ago

boystray commented 5 years ago

prepare_dict.sh report The encoding pragma is no longer supported at -e line 2. BEGIN failed--compilation aborted at -e line 2.

I think the 180 line in prepare_dict.sh perl -e ' use encoding utf8;has bug. my perl is v5.26.2,the encoding pragma which is deprecated since perl 5.18.

danpovey commented 5 years ago

@jtrmal any idea how to fix this?

naxingyu commented 5 years ago

egs/aishell/s5/local/wer_output_filter give a solution. hkust and gale_mandarin have similar issue.

On Sat, Jun 8, 2019 at 11:17 PM Daniel Povey notifications@github.com wrote:

@jtrmal https://github.com/jtrmal any idea how to fix this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/3380?email_source=notifications&email_token=AAZKTRCYRE2LD3HCONISF5TPZPEQZA5CNFSM4HWDVYQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHWRII#issuecomment-500132001, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZKTREP6UHS6KH6XGTRMZTPZPEQZANCNFSM4HWDVYQQ .

danpovey commented 5 years ago

@naxingyu is there any chance you could commit a fix? I think Yenda is busy with workshop-related stuff (those Hopkins summer workshops).

jtrmal commented 5 years ago

I will try to resolve this in the upcoming days. I just cannot today. y.

On Mon, Jun 10, 2019 at 1:41 PM Daniel Povey notifications@github.com wrote:

@naxingyu https://github.com/naxingyu is there any chance you could commit a fix? I think Yenda is busy with workshop-related stuff (those Hopkins summer workshops).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/3380?email_source=notifications&email_token=ACUKYX5LL3ULE6WK3I5AX3TPZ2G3FA5CNFSM4HWDVYQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXKSXWI#issuecomment-500509657, or mute the thread https://github.com/notifications/unsubscribe-auth/ACUKYX7T27E353GUOXDPH33PZ2G3FANCNFSM4HWDVYQQ .

boystray commented 5 years ago

btw,there is the same "use encoding utf8;" problem in egs/aidatatang_200zh/s5/local/create_oov_char_lexicon.pl

naxingyu commented 5 years ago

OK, will do today. Best, Xingyu Na

On Tue, Jun 11, 2019 at 1:40 AM Daniel Povey notifications@github.com wrote:

@naxingyu https://github.com/naxingyu is there any chance you could commit a fix? I think Yenda is busy with workshop-related stuff (those Hopkins summer workshops).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kaldi-asr/kaldi/issues/3380?email_source=notifications&email_token=AAZKTRALKI7JLX5CRCVTHLTPZ2G2LA5CNFSM4HWDVYQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXKSXWI#issuecomment-500509657, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZKTRFMG3LINQQWNO6MHG3PZ2G2LANCNFSM4HWDVYQQ .