2016-08-24 17 views
-1

私はこのチュートリアルに従いますhttp://jasperproject.github.io/documentation/ 私はDebian Jessieを使います。 jasper.pyを実行したいとき、私はこのエラーを受け取ります: 問題が何であるか知っていますか?Raspberry pi Jasper音声認識が機能しない

DEBUG:client.diagnose:Checking network connection to server 'www.google.com'... DEBUG:client.diagnose:Network connection working DEBUG:main:Trying to read config file: '/root/.jasper/profile.yml' DEBUG:client.diagnose:Checking python import 'pocketsphinx'... DEBUG:client.diagnose:Python package 'pocketsphinx' found: /usr/local/lib/python2.7/dist-packages/pocketsphinx/init.py' WARNING:root:tts_engine not specified in profile, defaulting to espeak-tts' DEBUG:client.diagnose:Checking executable 'aplay'... DEBUG:client.diagnose:Executable 'aplay' found: '/usr/bin/aplay' DEBUG:client.diagnose:Checking executable 'espeak'... DEBUG:client.diagnose:Executable 'espeak' found: '/usr/bin/espeak' DEBUG:client.vocabcompiler:compiled_revision is 'bb74ae36d130ef20de710e3a77b43424b8fa774f' ERROR:root:Error occured! Traceback (most recent call last): File "jasper.py", line 146, in app = Jasper() File "jasper.py", line 109, in init
stt_passive_engine_class.get_passive_instance(), File "/home/pi/jasper/client/stt.py", line 48, in get_passive_instance
return cls.get_instance('keyword', phrases) File "/home/pi/jasper/client/stt.py", line 42, in get_instance
instance = cls(**config) File "/home/pi/jasper/client/stt.py", line 126, in init **vocabulary.decoder_kwargs) TypeError: init() got an unexpected keyword argument 'hmm'

+0

キーワード「hmm」が多すぎます。トレースバックは設定を指していますが、関連するすべてのコードと設定を追加できますか? –

+0

設定ではどういう意味ですか? – input

+0

'profile.yml'です。 APIキーのような個人情報がある場合は、それらを削除してください。 –

答えて

0

私はpastebinに自分のstt.pyスクリプトを貼り付けています。 http://pastebin.com/Cy6ziGPk 私はこのフォーラムでこれを管理することができなかったので。