如何使用Office中的声音命令来识别中文?

cnming 2005-12-20 04:42:44
在Office中,可以通过语音识别中的声音命令来控制菜单,而且准确率很高。

如何使用这个功能建立一个自定义的惯用语语音库?进行一些习惯用语的语音识别功能?

可以选择VS2005中的Office开发,也可以选择Office中的VBA功能。

如果有心参与研究探讨,可以Email跟我联系

cnming@163.com
...全文
334 29 打赏 收藏 转发到动态 举报
写回复
用AI写文章
29 条回复
切换为时间正序
请发表友善的回复…
发表回复
ywcyj 2005-12-24
  • 打赏
  • 举报
回复
mark
CSharpEx 2005-12-23
  • 打赏
  • 举报
回复
up
cnming 2005-12-23
  • 打赏
  • 举报
回复
up
cnming 2005-12-23
  • 打赏
  • 举报
回复
再看看还有没有更优秀的解决办法

cnwolfs 2005-12-22
  • 打赏
  • 举报
回复
Adding Commands to a Voice Menu
After you create a Voice Menu object, you can add commands to the menu by filling an array of VCMDCOMMAND structures, copying the address and size of the array into an SDATA structure, and passing the address of the SDATA structure to the IVCmdMenu::Add member function.

The example in this section shows how to add a new set of commands to a Voice Menu object. The example consists of three functions: UseCommands, GetCommands, and NextCommand:

The UseCommands function deactivates the Voice menu, replaces any existing commands in the menu with a new set, and reactivates the menu. One of the parameters to UseCommands is the address of a buffer containing the list of command strings to enter. UseCommands passes the address of the command-string buffer to the GetCommands function, along with the address of an SDATA structure.

The GetCommands function converts the buffer to an array of VCMDCOMMAND structures and copies the address and size of the array into the SDATA structure.

The NextCommand function is a helper routine that GetCommands uses to retrieve individual command strings from the command buffer passed to UseCommands.


其实就是通过添加Speech菜单来实现,我猜Office也是使用了类似的方法
zeusvenus 2005-12-22
  • 打赏
  • 举报
回复
另外Avalon Indigo Beta1 RC中提供了具有Speech API的开发包,参见:
http://www.microsoft.com/downloads/details.aspx?FamilyId=B789BC8D-4F25-4823-B6AA-C5EDF432D0C1&displaylang=en
zeusvenus 2005-12-22
  • 打赏
  • 举报
回复
打错了,是MSRA,资料介绍这是他的一大研究方向。
zeusvenus 2005-12-22
  • 打赏
  • 举报
回复
office中文本到声音常用的是TTS,text to speech。
声音到文本是一个神经网络,需要不断训练以提高正确率,MSAR在做这方面的东西。
blackhero 2005-12-22
  • 打赏
  • 举报
回复
太难了吧

http://www.aspxboy.com/private/1870/default.aspx

http://www.aspxboy.com/18/category.aspx

http://www.aspxboy.com/private/1869/default.aspx

仅供学习参考之用
cnming 2005-12-22
  • 打赏
  • 举报
回复
Office常用的是TTS也说得过去,拿来做识别也不错

上头cnwolfs写的codeproject的DEMO,识别正确率确实提高了不少,但是还是没有进行有限数据训练的过程。
cnming 2005-12-21
  • 打赏
  • 举报
回复
又没有人理我了
cnming 2005-12-21
  • 打赏
  • 举报
回复
up
cnming 2005-12-21
  • 打赏
  • 举报
回复
在Office中,使用语音命令可以轻易识别出菜单中的词语。例如“文件”“窗口”等词语,你一读出这些文字,菜单就会对应打开。

如果我建立一个习惯用语的词语库,也就是几十到几百条的习惯用语,如果词组识别限制在这些范围,识别率肯定就会高很多。

这就是我的初衷。

勤奋的阿拉丁 2005-12-21
  • 打赏
  • 举报
回复
用户:菜单——〉新建——〉

(旁边女朋友在乱叫,导致Office识别错误)

Office:接受命令,马上启动自毁进程,开始倒计时:10-9-8-……

---------------------------------------------------------------
哥哥,最好不要用,否则你会死的很惨!
o1o 2005-12-21
  • 打赏
  • 举报
回复
我原来就开过贴子希望有人一块研究,虽然偶的水平不高。
  • 打赏
  • 举报
回复
看不明白,“习惯用语的语音识别功能”用于offica?
kisshere 2005-12-21
  • 打赏
  • 举报
回复
really?
I want to take part in
豌豆干 2005-12-21
  • 打赏
  • 举报
回复
关注一下
calen 2005-12-21
  • 打赏
  • 举报
回复
专业帮顶
cnming 2005-12-21
  • 打赏
  • 举报
回复
怎么都没有人照顾我的贴?

不公平
加载更多回复(9)

110,534

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧