use your trained language model in recognize_sphinx() using python with pocketsphinx

849 Views Asked by At

I've trained my langue model with cmu sphinx and now I want to use it in speech recognition using python script. How to change the default language model or how to use the trained model in recognize_sphinx().

1

There are 1 best solutions below

0
Ruoyu Jia On

c = r.recognize_sphinx(audio, language='zh-cn')