Hi,
Still, now I created lexicon.txt manually.
I some tool like CNTK, Sequitor,lmtool, lex tool and Other tools for creating the dictionary.
Eg:
lexicon.txt
a a
a axx
a ee
a4 ee f o r
aa aa
aadhaar aa dx aa r
aadhaar aa dx h aa r
aadil aa dx i l
aadinath aa dx i n aa t h
aaditya aa d i t y aa
aadmi aa dx m ii
aah aa h
aahs aa h s
aai aa ei
aaj aa j
aakash aa k aa sh
Now, I am willing to write an automated script to create a dictionary using any one of the tools.
Before that, I need to know Kaldi have any inbuild scripts for the dictionary creation.
I found g2p.py script inside egs/librispeech/s5/local/g2p/train_g2p.sh
I don't have any idea how it will create model.