Artyom

Artyom.js 包中文翻译

官方网站

https://docs.ourcodeworld.com/projects/artyom-js

官方仓库

通过 NPM 下载

$ npm install artyom.js

通过 Bower 下载

bower install artyom.js

Artyom 是对 Google Chrome SpeechSynthesis 和 SpeechRecognition 的强健封装工具包,通过调用其API可以帮助开发者构建属于自己的虚拟援助。通过使用 Artyom, 你有机会在你的应用中创造出属于自己的 Siri, Google Now, Cortana。

需要注意,SpeechSynthesis 和 SpeechRecognition 的官方API 只支持 Google Chrome 浏览器(因为使用了 Google Recognition 和 Synthesis 服务)。Artyom 同时也支持 Android Chrome。

通过视频学习

https://ourcodeworld.com/articles/read/44/how-to-add-voice-commands-to-your-webpage-with-javascript

Last updated

Was this helpful?