简体   繁体   English

非英语语言的语音识别帮助

[英]Speech recognition help for non-english language

I am trying to create a web app using asp.net to support Speech recognition. 我正在尝试使用asp.net创建一个Web应用程序以支持语音识别。 The catch is that I want to convert Swedish audio to text. 问题是我想将瑞典语音频转换为文本。 I have tried several APIs and frameworks but no luck. 我尝试了几种API和框架,但是没有运气。 I only could get AT&T to work, sort of. 我只能让AT&T上班。 It only recognizes one word in a six word sentence. 它只能识别六个单词中的一个单词。 I also tried Micosoft.Speech library but couldn't get it to work. 我还尝试了Micosoft.Speech库,但无法正常工作。 can anyone see what is wrong with my code? 谁能看到我的代码出了什么问题?

var engine = null as SpeechRecognitionEngine;

engine = new SpeechRecognitionEngine(new CultureInfo("sv-SE"));


using (engine)
{
    engine.SetInputToWaveFile("C:\\temp\\samplecall.wav");


    var result = engine.Recognize();

    Console.WriteLine(((result != null) ? new SpeechRecognitionResult(result.Text, result.Alternates.Select(x => x.Text).ToArray()).toString : null));
    Console.ReadLine();
}

any other help regarding the speech recognition would be appreciated very much. 关于语音识别的任何其他帮助将不胜感激。

If you want to transcribe 8khz audio from calls, desktop speech recognition APIs will not help you, so Microsoft is not your choice. 如果您想从通话中转录8khz音频,则桌面语音识别API不会为您提供帮助,因此Microsoft不是您的选择。

AT&T should work if you configure it properly. 如果正确配置,AT&T应该可以工作。 Another alternative would be to build an callcenter acoustic model for CMUSphinx , the Swedish database for that is available. 另一个选择是为CMUSphinx建立一个呼叫中心声学模型,该模型可在瑞典获得。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 非英语窗口系统上的语音识别 - Speech recognition on non-English window systems PDF 到非英语文本提取 PDF - PDF to Text extraction for non-english language PDF Windows Phone 8的语音识别中是否设置了任何英语语法 - Is there any english language grammar set in Speech Recognition in Windows Phone 8 如何在非英语Win Vista Business上使用System.Speech - How to use System.Speech on non-English Win Vista Business 读取非英语文件 - read non-English file 表单中的非英文字符 - Non-English characters in a Form 非英语的英语风格CultureInfo - English style for non-English CultureInfo OS显示语言为非英语时获取本地时区标识符 - Getting local timezone identifier when OS display language is non-english 如果语音识别语言设置为英语-美国以外的其他任何语言,则程序不会加载 - Program does not load if Speech Recognition Language is set to anything other than English - US 我如何获得用户键入的非英语语言中的特殊单词的单词,包括c#,javascript - How i can get the word who user type for a special word in non-english language in any language even c# , javascript
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM