Vista语音识别在德尔福 [英] Vista Speech Recognition in Delphi

查看:203
本文介绍了Vista语音识别在德尔福的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够使用Microsoft Vista的语音识别来指定我的Delphi应用程序。然而,当尝试指定为TMemo时,它根本不起作用。我注意到Firefox 3.0有相同的问题,在他们联系Microsoft之后,他们文本服务框架的应用程序。



我想知道是否有任何方法在Delphi中实现这一点,以便我可以指定为TMemo或TRichEdit 。搜索Google的解决方案没有返回任何相关结果。我在哪里找到解决方案?



编辑:我发现有一种方法可以在所有程序中启用语音识别,甚至那些不支持它的人,只需通过Windows语音识别的选项,并选择启用无处不在的口令。但是,当您使用它来指定不使用文本服务框架的编辑框时,它总是弹出显示提示的备用面板 说出您想要的项目旁边的数字,然后确定。虽然这可能适用于短句,但它没有许多有用的功能,例如更正或删除单词。所以我仍然试图找出如何启用语音识别,而不依赖于使能口令无处不在选项。

解决方案

我发现,有一种方法可以在所有程序中启用语音识别,甚至不支持语音识别,只需通过Windows语音识别的选项,并选择启用所有语言的口令。 >。但是,当您使用它来指定不使用文本服务框架的编辑框时,它总是弹出显示提示的备用面板 说出您想要的项目旁边的数字,然后确定。虽然这可能适用于短句,但它没有许多有用的功能,例如更正或删除单词。


I would like to be able to dictate into my Delphi application using Microsoft Vista's speech recognition. However when attempting to dictate into a TMemo, it simply does not work. I noticed that Firefox 3.0 has the same issue and after they contacted Microsoft about the problem, they told them that they need to implement the Text Services Framework for their application.

I am wondering if there is any way to implement this in Delphi so that I can dictate into a TMemo or a TRichEdit. Searching Google for a solution didn't return any relevant results. Where would I start in finding a solution?

Edit: I found out that there is a way to enable speech recognition in all programs, even those that don't support it, simply by going to the options of Windows Speech Recognition and selecting Enable dictation everywhere. However when you use this to dictate into an editbox that doesn't use the Text Services Framework, it always pops up the Alternates Panel which displays the prompt Say the number next to the item you want, followed by OK. While this may work for short sentences, it does not have many of the useful features such as correcting or deleting a word. So I am still trying to figure out how to enable speech recognition without relying on the Enable dictation everywhere option.

解决方案

I found out that there is a way to enable speech recognition in all programs, even those that don't support it, simply by going to the options of Windows Speech Recognition and selecting Enable dictation everywhere. However when you use this to dictate into an editbox that doesn't use the Text Services Framework, it always pops up the Alternates Panel which displays the prompt Say the number next to the item you want, followed by OK. While this may work for short sentences, it does not have many of the useful features such as correcting or deleting a word.

这篇关于Vista语音识别在德尔福的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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