Skip to content

Pocketshinx #5

@ghost

Description

При попытке использования вылазит ошибка, в чем косяк всё стоит верно!

python3 speech_to_text.py
[i] Загрузка языковой модели... Traceback (most recent call last):
File "speech_to_text.py", line 101, in
main()
File "speech_to_text.py", line 94, in main
sr = SpeechRecognitionclass('from_microphone')
File "speech_to_text.py", line 45, in init
dic=os.path.join(model_path, 'ru_bot.dic')
File "/usr/local/lib/python3.6/dist-packages/pocketsphinx/init.py", line 208, in init
super(LiveSpeech, self).init(**kwargs)
File "/usr/local/lib/python3.6/dist-packages/pocketsphinx/init.py", line 90, in init
super(Pocketsphinx, self).init(config)
File "/usr/local/lib/python3.6/dist-packages/pocketsphinx/pocketsphinx.py", line 275, in init
this = _pocketsphinx.new_Decoder(*args)
RuntimeError: new_Decoder returned -1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions