alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.92k stars 1.1k forks source link

Support for .NET 7.0 #1213

Open alvaro-baranoski opened 1 year ago

alvaro-baranoski commented 1 year ago

Hello everyone.

My team is about to start a new project in .NET 7.0 and we plan on using Vosk for STT. Consulting the Nuget page for the vosk library, it says that the last version (0.3.38) only supports up to .NET 6.0.

I've run a test on .NET 7 with Vosk 0.3.38 and it seems to work just fine, but I'm worried it might interfere with the results or even break at some point in the future.

Does Vosk plan on releasing a new Nuget package version of the library compatible with .NET 7 in the near future? Or can I use the latest library without any conserns regarding version problems?

Thanks in advance for the help and congratulations on the amazing work with this project!

nshmyrev commented 1 year ago

We can release a new package, sure. It would be great if you submit a patch to fix what is required in nuspec:

https://github.com/alphacep/vosk-api/blob/master/csharp/nuget/Vosk.nuspec

I don't see anything that limits to 6.0

alvaro-baranoski commented 1 year ago

Sure I could do that. Can you please point me to what needs to be changed in the .nuspec file? And if there's anything else that needs modifications.