You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I run chinese live demo following Readme, the button "start" is disabled and error in debug console - "recognizer.js:48 Uncaught TypeError: Cannot use 'in' operator to search for 'pocketsphinx.js' in pocketsphinx_zh.js
at self.onmessage (recognizer.js:48)"
The text was updated successfully, but these errors were encountered:
That's possible, I did not maintain this. But there might be an easy fix which is to set 'pocketsphinx.js': 'pocketsphinx_zh.js' in the init parameters.
in live_zh.html
chage
-- recognizer.postMessage({'pocketsphinx.js':'pocketsphinx_zh.js'});
--to
--recognizer.postMessage('pocketsphinx_zh.js');
but,had anthor serious problems:
Uncaught TypeError: Cannot read property 'slice' of null at parseJSFunc (js/pocketsphinx_zh.js:8)
This problem is not easy to fix。
do you have any good idea?
when I run chinese live demo following Readme, the button "start" is disabled and error in debug console - "recognizer.js:48 Uncaught TypeError: Cannot use 'in' operator to search for 'pocketsphinx.js' in pocketsphinx_zh.js
at self.onmessage (recognizer.js:48)"
The text was updated successfully, but these errors were encountered: