问题描述
相关:是System.Speech.Recognition"单声道框架中可用的命名空间?
根据此 link 但我不确定如何使用 MonoDevelop 访问它.当我尝试在 Projects > Edit References 下添加对命名空间的引用时,System.Speech 不存在.每当我尝试使用关键字 using System.Speech
构建时,都会出现错误:
I'm aware that the System.Speech namespace is available in mono according to this link but I'm not sure how to access it using MonoDevelop. When I try to add a reference to the namespace under Projects > Edit References, System.Speech is just not there. Whenever I try to build with the keyword using System.Speech
I'm given the error:
Error CS0234: The type or namespace name `Speech' does not exist in the namespace `System'. Are you missing an assembly reference? (CS0234) (Assembly-CSharp).
我正在运行 OSX,但我的印象是 mono 是 .NET 框架的完整实现,所以我应该能够访问它,因为我可以访问其他 .NET 库.
I'm running OSX but I'm under the impression that mono is a full implementation of the .NET framework so I should be able to access it, since I can access other .NET libraries.
任何帮助将不胜感激!
推荐答案
可能你对图表有误解,
http://go-mono.com/status/
第一栏是.NET 4.0 vs .NET 4.5,纯粹是微软的东西比较.因此,System.Speech 列在那里.
The first column is for .NET 4.0 vs .NET 4.5, which is purely the comparison of Microsoft's stuffs. Thus, System.Speech is listed there.
您可以看到,当 Mono 的东西与 Microsoft 的比较时,System.Speech 没有列出.
You can see that when Mono's stuffs are compared to Microsoft's, System.Speech is not listed.
这只是表明 Mono 尚未在该领域进行攻击,这是有意义的.System.Speech 严重依赖 Microsoft Windows 平台内部的 Microsoft 语音引擎,Mono 不容易在其他平台上克隆.
That simply indicates Mono does not yet attack in this area, and which is meaningful. System.Speech heavily relies on Microsoft's speech engine inside Microsoft Windows platforms, which Mono is not easy to clone on other platforms.
这篇关于你如何访问 monodevelop 中的 System.Speech 框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!