Linux 上 Mono 中的 System.Speech [英] System.Speech in Mono on Linux

查看:18
本文介绍了Linux 上 Mono 中的 System.Speech的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Mono 和 Monodevelop 在 Linux (KUbuntu) 中开展一个项目.我想使用 System.Speech 库,这完全可以在 Windows 7 上的 Unity 中使用 Monodevelop.在过去的几个小时里,我一直在网上进行大量查找,据我所知,System.Speech WAS 添加到单声道.

I'm working on a project in Linux (KUbuntu) using Mono and Monodevelop. I want to use the System.Speech library, which is completely possible with Monodevelop in Unity on Windows 7. I've been doing a lot of looking online over the past few hours and as far as I can tell System.Speech WAS added to Mono.

我已经更新了所有单声道,mono --version 显示 4.0.2(最新版本),Monodevelop 版本显示 5.9.4(据我所知也是最新版本).这让我觉得我拥有所有开发软件的所有最新更新.

I've updated all of mono, mono --version is showing 4.0.2 (latest version), and Monodevelop version is showing 5.9.4 (as far as I can tell that also is the most updated version). This is making me think that I have all of the latest updates for all the development software.

我已经重新启动,创建了新项目,从 git 手动构建了 monodevelop,我能想到的一切.这一切都完成了,我右键单击 References=>Edit References=>System.Speech,没有任何显示.我再次通过在我的 Windows 机器上的 Unity 上进行了仔细检查,它确实存在.

I've rebooted, created new projects, manually built monodevelop from git, everything I can think of. That all being done, I right click on References=>Edit References=>System.Speech, and nothing is showing up. Again I double checked by trying it on Unity on my windows machine, and it's definitely there.

有人知道发生了什么吗?我不确定要为这样的事情提供什么其他细节,但我显然错过了一些东西.我非常乐意发布您需要的任何其他信息,我非常感谢您的帮助!

Does anyone have any idea what's going on? I'm not really sure what other details to give for something like this but I'm clearly missing something. I'm more than happy to post any other information you would need, and I thank you infinitely for any help!

推荐答案

System.Speech 是 MSFT 的 .Net 的一部分,依赖于本地音频驱动程序、TLS 引擎等......并且仅在 Windows 上可用.

System.Speech is a part of MSFT's .Net and is dependent on native audio drivers, the TLS engine, etc... and is only available on Windows.

我相信 4/5 年前在 Mono 中使用 Speech 命名空间完成了一些工作,但在当前版本中,此命名空间中没有任何内容.

I believe there was some work done in Mono with the Speech namespace 4/5 years ago, but there is nothing in this namespace in the current releases.

如果当前不可用,您需要查看 Linux 上的第三方语音库并为它们编写一些 C# 包装器.

You would need to look at third party speech libs on Linux and write some C# wrappers for them if they are not currently available.

这篇关于Linux 上 Mono 中的 System.Speech的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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