简体   繁体   中英

convert Audio file to text file c# library or source code

我只想知道是否有任何内置库或Java或C#内置库允许我获取音频文件并解析它并从中提取文本。

You can use the built in .NET speech recognition APIs to accomplish this. MSDN has a set of complete samples that read an audio file and then write the recognised speech to the console. With a little bit of work they can be modified to output to a plain text file:

http://msdn.microsoft.com/en-us/library/system.speech.recognition.speechrecognitionengine.setinputtoaudiostream.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM