使用 Web Speech API 检测已知单词 [英] Detecting known words using the Web Speech API

查看:22
本文介绍了使用 Web Speech API 检测已知单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正处于一款旨在帮助儿童学习词汇的网络应用的规划阶段.我们希望使应用程序尽可能具有交互性.例如,我们会展示一个苹果的图片,并让孩子识别这个物体.然后孩子会说apple",我们会判断他们是否正确,等等.

I'm in the planning stages of a web app that is intended to help children learn vocabulary. We would like to make the app as interactive as possible. For example, we would show a picture of an apple and ask the child to identify the object. The child would then say "apple" and we would determine whether they are correct, etc.

新的网络语音API 似乎是这个项目的一个很有前途的工具.但是,查看文档后,我相信它只会从语音中生成成绩单(即它无法将口语单词与已知 单词匹配并生成置信度值——至少不是开箱即用的).

The new Web Speech API seems like a promising tool for this project. However, looking through the documentation, I believe it will only produce transcripts from speech (i.e. it cannot match a spoken word to a known word and produce a confidence value – at least not out of the box).

有没有人有以这种方式利用 Web Speech API(或任何其他 API)的经验?如果可能的话,我正在尝试使用可以在浏览器中运行的技术.

Does anyone have experience with leveraging the Web Speech API in this way (or any other API for that matter)? I'm trying to stick to technologies that can run in the browser, if possible.

推荐答案

试试 ispikit.com,就是这样更适合您的需求,它专为教育任务而设计,可在客户端的浏览器中运行.Web Speech API 不是为检测而设计的,因此您将无法使用它.

Try ispikit.com, it's way more suitable for your needs, it's specifically designed for education tasks and works in a browser on a client side. Web Speech API is not designed for detection, so you will not be able to use it.

这篇关于使用 Web Speech API 检测已知单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆