diff options
Diffstat (limited to 'client/stt.py')
| -rw-r--r-- | client/stt.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/stt.py b/client/stt.py index b4cc038..344696c 100644 --- a/client/stt.py +++ b/client/stt.py @@ -42,8 +42,8 @@ class PocketSphinxSTT(AbstractSTTEngine): SLUG = 'sphinx' - def __init__(self, lmd="languagemodel.lm", dictd="dictionary.dic", - lmd_persona="languagemodel_persona.lm", dictd_persona="dictionary_persona.dic", + def __init__(self, lmd=jasperpath.config("languagemodel.lm"), dictd=jasperpath.config("dictionary.dic"), + lmd_persona=jasperpath.data("languagemodel_persona.lm"), dictd_persona=jasperpath.data("dictionary_persona.dic"), lmd_music=None, dictd_music=None, hmm_dir="/usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k"): """ |
