如何使用visual studio窗口在语音识别中添加词汇表 [英] How to add vocabulary in voice recognition using visual studio windows

查看:103
本文介绍了如何使用visual studio窗口在语音识别中添加词汇表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用户可以在语音识别中配置添加新词汇表,然后键入相应的文本字符。

我想要发生的是,会有一个按钮点击然后语音识别应该录制语音,而单词文本中输入的单词将是要添加到新单词中的文本字符词汇



谢谢你们



我的尝试:



我还没有尝试过。因为我知道这是一套新的编码,我不知道任何语法,除非开启语音识别



the user can configure in the voice recognition to add new vocabulary then type the corresponding text character.
What i want to happen is that , there will be a button to click then voice recognition shall record voice, and the word which was type in the word text will be the text character to be added in new vocabulary

thank you guys

What I have tried:

I havent try anything yet. because i know this is new set of coding which i don't know any syntax to use unless the opening of voice recognition

Imports System.Speech.Recognition
Imports System.Threading
Imports System.Globalization
Public Class Form1
    ' recogniser & grammar
    Dim recog As New SpeechRecognizer
    Dim gram As Grammar
    ' events
    Public Event SpeechRecognized As  _
     EventHandler(Of SpeechRecognizedEventArgs)

推荐答案

参见语音识别入门 [ ^ ]。


这篇关于如何使用visual studio窗口在语音识别中添加词汇表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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