daanzu / kaldi-active-grammar

Python Kaldi speech recognition with grammars that can be set active/inactive dynamically at decode-time
GNU Affero General Public License v3.0
332 stars 49 forks source link

AttributeError: 'KaldiCompiler' object has no attribute 'cloud_dictation_lang' #76

Open mqnc opened 1 year ago

mqnc commented 1 year ago

I am running Ubuntu 22.04. I want to use alternative_dictation for dictating in German and I get this error.

https://github.com/daanzu/kaldi-active-grammar/blob/d32491506f9e019d266848cb452c369e57b74c1f/kaldi_active_grammar/compiler.py#L694

Just replacing the line with kwargs = {} works but maybe this needs some refactory.