JavaScript 语音识别 Pocketsphinx.js
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://syl22-00.github.io/pocketsphinx.js/
- 软件文档: https://github.com/syl22-00/pocketsphinx.js
软件介绍
Pocketsphinx.js 是一个在浏览器上通过纯 JavaScript 实现语音识别的功能,支持 Chrome 和 Firefox 浏览器。提供录音的功能。
特性:
100% 纯 JavaScript API,
可通过 Web Workers 录制
支持 PocketSphinx 所支持的所有声音模型
支持大多数 PocketSphinx 的命令行参数
支持 JavaScript 有限状态语法 FSG 输入
支持在编译时的来自文件的统计语言模型
支持键盘监测
可用于实时识别的可选音频录制库
示例代码:
var array = ... // array that contains an audio buffer var buffer = new Module.AudioBuffer(); for (var i = 0 ; i < array.length ; i++) buffer.push_back(array[i]); // Feed the array with audio data var output = recognizer.start(); // Starts recognition on current language model output = recognizer.process(buffer); // Processes the buffer var hyp = recognizer.getHyp(); // Gets the current recognized string (hypothesis) /* ... */ for (var i = 0 ; i < array.length ; i++) buffer.set(i, array[i]); // Feed buffer with new data output = recognizer.process(buffer); hyp = recognizer.getHyp(); /* ... */ output = recognizer.stop(); // Gets the final recognized string: var final_hyp = recognizer.getHyp(); buffer.delete();
在线演示:http://syl22-00.github.io/pocketsphinx.js/live-demo-chinese.html
Chinese Authoritarianism in the Information Age
Routledge / 2018-2-13 / GBP 115.00
This book examines information and public opinion control by the authoritarian state in response to popular access to information and upgraded political communication channels among the citizens in co......一起来看看 《Chinese Authoritarianism in the Information Age》 这本书的介绍吧!
