sym2int.pl: undefined symbol <UNK> (in position 1)

2,452 views
Skip to first unread message

Muhammad Salem

unread,
Nov 1, 2015, 9:13:01 AM11/1/15
to kaldi-help
when trying to create lang directory after running the command
utils/prepare_lang.sh data/local/dict "<UNK>" data/local/lang data/lang

I got the message

sym2int.pl: undefined symbol <UNK> (in position 1)

I guess is not defined in my dictionary which is phoneme to phoneme arabic dictionary
how can i solve this ?

Muhammad Salem

unread,
Nov 1, 2015, 9:27:06 AM11/1/15
to kaldi-help


Never mind solved, thanks for your help

abhati...@gmail.com

unread,
Jun 22, 2016, 5:33:44 PM6/22/16
to kaldi-help
How did you solve it?

abhati...@gmail.com

unread,
Jun 22, 2016, 5:54:16 PM6/22/16
to kaldi-help, abhati...@gmail.com
Add  <UNK> SPN in data/local/dict/lexicon.txt .
Add  SPN  in data/local/dict/silence_phones.txt .

Muhammad Talha Umair Alim

unread,
Apr 17, 2021, 3:33:55 AM4/17/21
to kaldi-help
Thank you for sharing the solution

Sougata Mukherjee

unread,
Feb 22, 2022, 11:16:45 AM2/22/22
to kaldi-help
What command have you used for it?

Jan Yenda Trmal

unread,
Feb 22, 2022, 11:18:06 AM2/22/22
to kaldi-help
just edit those files using text editor?
y.

--
Go to http://kaldi-asr.org/forums.html to find out how to join the kaldi-help group
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/eced9eb8-0380-48f3-adf8-8d254315c9f4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages