TLSphinxiOS 语音识别
TLSphinx 是一个围绕着 Pocketsphinx 的封装器,一个基于 CMU Sphinx 的便携库,允许应用程序执行的语音识别而无需将音频移出设备。
示例:
import TLSphinx let hmm = ... // Path to the acustic model let lm = ... // Path to the languaje model let dict = ... // Path to the languaje dictionary if let config = Config(args: ("-hmm", hmm), ("-lm", lm), ("-dict", dict)) { if let decoder = Decoder(config:config) { let audioFile = ... // Path to an audio file decoder.decodeSpeechAtPath(audioFile) { if let hyp: Hypotesis = $0 { // Print the decoder text and score println("Text: \(hyp.text) - Score: \(hyp.score)") } else { // Can't decode any speech because an error } } } else { // Handle Decoder() fail } } else { // Handle Config() fail }
评论
iOS 语音识别
OpenEars是一个开源的iOS类库,用于在iPhone和iPad实现语音识别功能。本demo利用此开源类库实现了简单的语音识别。可以识别:CHANGE、LEFT、RIGHT、FORWARD、BAC
iOS 语音识别
0
Pocketsphinx.jsJavaScript 语音识别
Pocketsphinx.js是一个在浏览器上通过纯JavaScript实现语音识别的功能,支持Chrome和Firefox浏览器。提供录音的功能。特性:100%纯JavaScriptAPI,可通过W
Pocketsphinx.jsJavaScript 语音识别
0
Pocketsphinx.jsJavaScript 语音识别
Pocketsphinx.js 是一个在浏览器上通过纯 JavaScript 实现语音识别的功能,支
Pocketsphinx.jsJavaScript 语音识别
0
Kaldi语音识别工具
Kaldi是一个语音识别工具。使用C++开发,基于Apache许可证。目的是为语音识别研究者提供。Kaldi的目标和受众范围与HTK相似。目标是用C++编写的现代灵活的代码,易于修改和扩展。重要功能包
Kaldi语音识别工具
0