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
336 stars 50 forks source link

Fix alternative_dictation #78

Open Lykos153 opened 1 year ago

Lykos153 commented 1 year ago

When using alternative dictation, the compiler crashed while trying to access self.cloud_dictation_lang which seems to be a relic as this is the only occurence in the code base. This PR removes it and sets kwargs to an empty dict.

Fix #76