C#如何创建听写语法 [英] C# How do I create a Dictation Grammar

查看:84
本文介绍了C#如何创建听写语法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Microsoft的 SpeechRecognitionEngine 中使用听写语法??



这甚至可能吗?



我想在听写Graamrer中添加特定的单词

How do I create my own custome Dictation grammar for use in Microsoft's SpeechRecognitionEngine?

Is this even possible ?

I would like to add specific words to the Dictation Graamrer

推荐答案

自定义听写语法与常规语法没有区别: https://msdn.microsoft.com/en-us/library/system.speech.recognition.grammar%28v=vs.110%29.aspx [< a href =https://msdn.microsoft.com/en-us/library/system.speech.recognition.grammar%28v=vs.110%29.aspxtarget =_ blanktitle =New Window> ^ ]。



只有它太大了;并且您将需要一些包含所有语法数据的大型数据文件(基本上,您需要所有表单的字典)。很有可能,认可的质量会让你感到沮丧。



-SA
Custom dictation grammar will be no different from a regular grammar: https://msdn.microsoft.com/en-us/library/system.speech.recognition.grammar%28v=vs.110%29.aspx[^].

Only it will be too big; and you will need some huge data file with all grammar data (basically, a dictionary with all forms you need). And chances are, the quality of recognition will frustrate you.

—SA


这篇关于C#如何创建听写语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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