juliusjs js 纯浏览器端语音识别插件
// bootstrap JuliusJS var julius = new Julius(); julius.onrecognition = function(sentence) { console.log(sentence); }; // say "Hello, world!" // console logs: `> HELLO WORLD`特性
Real-time transcription 实时识别
Use the provided grammar, or write your own 可以自定义语法,创建自建的语法文件与规则
100% JavaScript implementation 纯js编写
All recognition is done in-browser through a Worker 全部浏览器实现,不依赖后端服务器运行识别
Familiar event-inspired API 熟悉的事件驱动api
No external server calls 不需要进行后端接口访问
示例演示 https://zzmp.github.io/juliusjs/
github地址 https://github.com/zzmp/juliusjs
自定义语法教程 http://julius.osdn.jp/en_index.php?q=en_grammar.html
网友评论0