Skip to content

chinese live demo is not working #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
xiangatmps opened this issue Mar 3, 2018 · 2 comments
Open

chinese live demo is not working #121

xiangatmps opened this issue Mar 3, 2018 · 2 comments

Comments

@xiangatmps
Copy link

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)"

@syl22-00
Copy link
Owner

syl22-00 commented Mar 7, 2018

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.

@f5cs
Copy link

f5cs commented Jun 4, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants