Ijaz Ulhassan
Ijaz Ulhassan

Reputation: 21

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

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().

Upvotes: 1

Views: 961

Answers (1)

Ruoyu Jia
Ruoyu Jia

Reputation: 11

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

Upvotes: 1

Related Questions