{"action":"created","issue":{"url":"https://api.github.com/repos/syl22-00/pocketsphinx.js/issues/85","repository_url":"https://api.github.com/repos/syl22-00/pocketsphinx.js","labels_url":"https://api.github.com/repos/syl22-00/pocketsphinx.js/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/syl22-00/pocketsphinx.js/issues/85/comments","events_url":"https://api.github.com/repos/syl22-00/pocketsphinx.js/issues/85/events","html_url":"https://github.com/syl22-00/pocketsphinx.js/issues/85","id":203667471,"number":85,"title":"Poor accuracy on low-CPU computers (chromebooks, netbooks, etc..)","user":{"login":"gpowerone","id":10482124,"avatar_url":"https://avatars0.githubusercontent.com/u/10482124?v=3","gravatar_id":"","url":"https://api.github.com/users/gpowerone","html_url":"https://github.com/gpowerone","followers_url":"https://api.github.com/users/gpowerone/followers","following_url":"https://api.github.com/users/gpowerone/following{/other_user}","gists_url":"https://api.github.com/users/gpowerone/gists{/gist_id}","starred_url":"https://api.github.com/users/gpowerone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpowerone/subscriptions","organizations_url":"https://api.github.com/users/gpowerone/orgs","repos_url":"https://api.github.com/users/gpowerone/repos","events_url":"https://api.github.com/users/gpowerone/events{/privacy}","received_events_url":"https://api.github.com/users/gpowerone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-01-27T15:44:29Z","updated_at":"2017-03-19T14:52:00Z","closed_at":null,"body":"We've been using pocketsphinx.js successfully for some time. \r\n\r\nWe've recently discovered (in Google chrome) that the accuracy is very bad on computers with comparatively less CPU, while it works perfectly fine on computers with higher CPU. \r\n\r\nAnybody else have this problem and/or a recommendation about how to reduce the CPU usage of pocketsphinx.js? We are using a larger acoustic model than the default rm model, but not as big as the CMU sphinx model. \r\n\r\nHere is my current configuration:\r\n\r\n [NAME]\t\t\t[DEFLT]\t\t[VALUE]\r\n -agc\t\t\tnone\t\tnone\r\n -agcthresh\t\t2.0\t\t2.000000e+00\r\n -allphone\t\t\t\t\r\n -allphone_ci\t\tno\t\tno\r\n -alpha\t\t\t0.97\t\t9.700000e-01\r\n -ascale\t\t\t20.0\t\t2.000000e+01\r\n -aw\t\t\t1\t\t1\r\n -backtrace\t\tno\t\tno\r\n -beam\t\t\t1e-48\t\t1.000000e-48\r\n -bestpath\t\tyes\t\tyes\r\n -bestpathlw\t\t9.5\t\t9.500000e+00\r\n -ceplen\t\t\t13\t\t13\r\n -cmn\t\t\tlive\t\tcurrent\r\n -cmninit\t\t40,3,-1\t\t40,3,-1\r\n -compallsen\t\tno\t\tno\r\n -debug\t\t\t\t\t0\r\n -dict\t\t\t\t\tSRdictionary.dict\r\n -dictcase\t\tno\t\tno\r\n -dither\t\t\tno\t\tno\r\n -doublebw\t\tno\t\tno\r\n -ds\t\t\t1\t\t1\r\n -fdict\t\t\t\t\t\r\n -feat\t\t\t1s_c_d_dd\t1s_c_d_dd\r\n -featparams\t\t\t\t\r\n -fillprob\t\t1e-8\t\t1.000000e-08\r\n -frate\t\t\t100\t\t100\r\n -fsg\t\t\t\t\t\r\n -fsgusealtpron\t\tyes\t\tyes\r\n -fsgusefiller\t\tyes\t\tyes\r\n -fwdflat\t\tyes\t\tyes\r\n -fwdflatbeam\t\t1e-64\t\t1.000000e-64\r\n -fwdflatefwid\t\t4\t\t4\r\n -fwdflatlw\t\t8.5\t\t8.500000e+00\r\n -fwdflatsfwin\t\t25\t\t25\r\n -fwdflatwbeam\t\t7e-29\t\t7.000000e-29\r\n -fwdtree\t\tyes\t\tyes\r\n -hmm\t\t\t\t\ten-us\r\n -input_endian\t\tlittle\t\tlittle\r\n -jsgf\t\t\t\t\t\r\n -keyphrase\t\t\t\t\r\n -kws\t\t\t\t\t\r\n -kws_delay\t\t10\t\t10\r\n -kws_plp\t\t1e-1\t\t1.000000e-01\r\n -kws_threshold\t\t1\t\t1.000000e+00\r\n -latsize\t\t5000\t\t5000\r\n -lda\t\t\t\t\t\r\n -ldadim\t\t\t0\t\t0\r\n -lifter\t\t\t0\t\t22\r\n -lm\t\t\t\t\tSRlm.lm\r\n -lmctl\t\t\t\t\t\r\n -lmname\t\t\t\t\t\r\n -logbase\t\t1.0001\t\t1.000100e+00\r\n -logfn\t\t\t\t\t\r\n -logspec\t\tno\t\tno\r\n -lowerf\t\t\t133.33334\t1.300000e+02\r\n -lpbeam\t\t\t1e-40\t\t1.000000e-40\r\n -lponlybeam\t\t7e-29\t\t7.000000e-29\r\n -lw\t\t\t6.5\t\t6.500000e+00\r\n -maxhmmpf\t\t30000\t\t30000\r\n -maxwpf\t\t\t-1\t\t-1\r\n -mdef\t\t\t\t\t\r\n -mean\t\t\t\t\t\r\n -mfclogdir\t\t\t\t\r\n -min_endfr\t\t0\t\t0\r\n -mixw\t\t\t\t\t\r\n -mixwfloor\t\t0.0000001\t1.000000e-07\r\n -mllr\t\t\t\t\t\r\n -mmap\t\t\tyes\t\tyes\r\n -ncep\t\t\t13\t\t13\r\n -nfft\t\t\t512\t\t512\r\n -nfilt\t\t\t40\t\t25\r\n -nwpen\t\t\t1.0\t\t1.000000e+00\r\n -pbeam\t\t\t1e-48\t\t1.000000e-48\r\n -pip\t\t\t1.0\t\t1.000000e+00\r\n -pl_beam\t\t1e-10\t\t1.000000e-10\r\n -pl_pbeam\t\t1e-10\t\t1.000000e-10\r\n -pl_pip\t\t\t1.0\t\t1.000000e+00\r\n -pl_weight\t\t3.0\t\t3.000000e+00\r\n -pl_window\t\t5\t\t5\r\n -rawlogdir\t\t\t\t\r\n -remove_dc\t\tno\t\tno\r\n -remove_noise\t\tyes\t\tno\r\n -remove_silence\t\tyes\t\tno\r\n -round_filters\t\tyes\t\tyes\r\n -samprate\t\t16000\t\t1.600000e+04\r\n -seed\t\t\t-1\t\t-1\r\n -sendump\t\t\t\t\r\n -senlogdir\t\t\t\t\r\n -senmgau\t\t\t\t\r\n -silprob\t\t0.005\t\t5.000000e-03\r\n -smoothspec\t\tno\t\tno\r\n -svspec\t\t\t\t\t0-12/13-25/26-38\r\n -tmat\t\t\t\t\t\r\n -tmatfloor\t\t0.0001\t\t1.000000e-04\r\n -topn\t\t\t4\t\t4\r\n -topn_beam\t\t0\t\t0\r\n -toprule\t\t\t\t\r\n -transform\t\tlegacy\t\tdct\r\n -unit_area\t\tyes\t\tyes\r\n -upperf\t\t\t6855.4976\t6.800000e+03\r\n -uw\t\t\t1.0\t\t1.000000e+00\r\n -vad_postspeech\t\t50\t\t50\r\n -vad_prespeech\t\t20\t\t20\r\n -vad_startspeech\t10\t\t10\r\n -vad_threshold\t\t2.0\t\t2.000000e+00\r\n -var\t\t\t\t\t\r\n -varfloor\t\t0.0001\t\t1.000000e-04\r\n -varnorm\t\tno\t\tno\r\n -verbose\t\tno\t\tno\r\n -warp_params\t\t\t\t\r\n -warp_type\t\tinverse_linear\tinverse_linear\r\n -wbeam\t\t\t7e-29\t\t7.000000e-29\r\n -wip\t\t\t0.65\t\t6.500000e-01\r\n -wlen\t\t\t0.025625\t2.562500e-02\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/syl22-00/pocketsphinx.js/issues/comments/287621801","html_url":"https://github.com/syl22-00/pocketsphinx.js/issues/85#issuecomment-287621801","issue_url":"https://api.github.com/repos/syl22-00/pocketsphinx.js/issues/85","id":287621801,"user":{"login":"mscreenie","id":11147410,"avatar_url":"https://avatars1.githubusercontent.com/u/11147410?v=3","gravatar_id":"","url":"https://api.github.com/users/mscreenie","html_url":"https://github.com/mscreenie","followers_url":"https://api.github.com/users/mscreenie/followers","following_url":"https://api.github.com/users/mscreenie/following{/other_user}","gists_url":"https://api.github.com/users/mscreenie/gists{/gist_id}","starred_url":"https://api.github.com/users/mscreenie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscreenie/subscriptions","organizations_url":"https://api.github.com/users/mscreenie/orgs","repos_url":"https://api.github.com/users/mscreenie/repos","events_url":"https://api.github.com/users/mscreenie/events{/privacy}","received_events_url":"https://api.github.com/users/mscreenie/received_events","type":"User","site_admin":false},"created_at":"2017-03-19T14:52:00Z","updated_at":"2017-03-19T14:52:00Z","body":"Will there be scope for porting sphinx to Webassembly once its available? Would there be a significant improvement in performance, accuracy and code maintainability? \r\n\r\nI ask because our current case utilises Google Speech Api which is expensive for us developers, even in production it is buggy sometimes returning nothing. "}}
{"actor":{"display_login":"mscreenie"}}