Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you access the System.Speech framework in monodevelop?

Tags:

c#

.net

mono

Related: Is "System.Speech.Recognition" namespace available in mono framework?

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).

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.

Any help would be appreciated!!

like image 267
ishikun Avatar asked Mar 22 '23 00:03

ishikun


1 Answers

Maybe you have misunderstood the charts,

http://go-mono.com/status/

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.

You can see that when Mono's stuffs are compared to Microsoft's, System.Speech is not listed.

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.

like image 117
Lex Li Avatar answered Apr 25 '23 21:04

Lex Li