0

再会!我尝试将 pocketsphinx 与 c# 一起使用,但不知道该怎么做。你能给我一些例子或代码的链接吗?

谢谢!

4

2 回答 2

3

我创建了一个可以立即使用的示例,Windows Phone 示例。 github

可能也可用于 Windows 10 / UWP,否则我将在示例中自己尽快使其兼容。

于 2016-04-20T15:22:45.473 回答
2

您可以使用SWIG为 PocketSphinx 库生成 C# 包装器,就像这里所做的那样:

https://github.com/cmusphinx/pocketsphinx-unity-demo/tree/master/Assets/Pocketsphinx

有一段代码使用生成的包装器:

https://github.com/cmusphinx/pocketsphinx-unity-demo/blob/master/Assets/TestScript.cs

于 2017-08-07T14:30:08.633 回答