Error while Creating files for data/lang

20 views
Skip to first unread message

Kodali Radha 20PHD7093

unread,
Nov 18, 2021, 6:51:30 AM11/18/21
to kaldi-help
I searched in groups and github to debug this error, but in vain. please help me in resolving this issue. Where Im going wrong?

I change the path.sh from 
export KALDI_ROOT='pwd'/../../.. # to: export KALDI_ROOT='pwd'/../..
I cant understand how the path is changed and stucked here. please help me...
----------------------------------------------------------------------------------------------------------------------------------------------
My TERMINAL: 
------------------------------------------------------------------------------------------------------------------------------------
radha@radha-Lenovo-IdeaPad-S340-14IIL:~/kaldi/egs/trail1/s5$ ./path.sh
The standard file pwd/../../tools/config/common_path.sh is not present -> Exit!
radha@radha-Lenovo-IdeaPad-S340-14IIL:~/kaldi/egs/trail1/s5$ ./path.sh
The standard file pwd../../tools/config/common_path.sh is not present -> Exit!
radha@radha-Lenovo-IdeaPad-S340-14IIL:~/kaldi/egs/trail1/s5$ fstprint --isymbols=data/lang/phones.txt --osymbols=data/lang/words.txt data/lang/L.fst | head
0 1 <eps> <eps> 0.693147182
0 2 <eps> <eps> 0.693147182
1 1 AH_S A 0.693147182
1 2 AH_S A 0.693147182
1 1 EY_S A(2) 0.693147182
1 2 EY_S A(2) 0.693147182
1 3 AH_B AND
1 5 AE_B AND(2)
1 7 AA_B ARE
1 1 ER_S ARE(2) 0.693147182
radha@radha-Lenovo-IdeaPad-S340-14IIL:~/kaldi/egs/trail1/s5$ utils/prepare_lang.sh data/local/lang 'OOV' data/local/ data/lang
utils/prepare_lang.sh data/local/lang OOV data/local/ data/lang
The standard file pwd../../tools/config/common_path.sh is not present -> Exit!
radha@radha-Lenovo-IdeaPad-S340-14IIL:~/kaldi/egs/trail1/s5$ 

Jan Yenda Trmal

unread,
Nov 18, 2021, 9:50:29 AM11/18/21
to kaldi-help
you have to use backticks (`), not apostrophes(')
or i.e. `pwd` and not 'pwd'
or just do it the "nice way" 
$(pwd)



--
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/e75717ab-b0d5-4384-b350-489f4a157c23n%40googlegroups.com.

Kodali Radha 20PHD7093

unread,
Nov 18, 2021, 11:13:17 AM11/18/21
to kaldi-help
Thanks! Solved.
Reply all
Reply to author
Forward
0 new messages