Does Microsoft SAPI support speech recognition on offline mode just like system.speech api?
Asked Answered
H

2

2

I have read official documentation of Microsoft SAPI but I couldn't find about whether the api can be used on offline mode or not.

in there, they said that Microsoft SAPI is server based speech recognition api. So It seems like it doesn't support but I have to make sure.

Can I use Microsoft SAPI on offline just like system.speech ?

Hitandrun answered 8/6, 2016 at 12:22 Comment(2)
Yes. As long as the user runs Vista or up.Olav
@Olav Is there any link that promotes your idea ?Hitandrun
T
4

That link does not say what you think it says. Both Microsoft.Speech.Recognition (server engine) and System.Speech.Recognition (desktop engine) run entirely on the host CPU. The underlying SR engines are different, however.

The reason why the Microsoft.Speech.Recognition engine is called "Server SR" is that it was designed to run as part of Microsoft Speech Server, which ran on an on-premises server.

If you want online (network) SR, you would need to use Windows.Media.Speech.Recognition, which has both online and offline recognition.

Tumblebug answered 8/6, 2016 at 16:16 Comment(2)
How can i use Windows.Media.Speech.Recognition offline? The sample that Microsoft provides require internet connection for continuous dictation.Atonement
@Atonement You can't use Windows.Media.Speech.Recognizer for offline dictation. The engine doesn't support it. You can use it for offline grammar-based recognitions, though.Tumblebug
S
3

I've developed with SAPI using MS's stock recognizer and synthesizers for 2+ years now. I don't think I've ever needed to have a network connection for my projects to work.

According to Microsoft's Speech API Overview it states directly that:

"The SAPI application programming interface (API) dramatically reduces the code overhead required for an application to use speech recognition and text-to-speech, making speech technology more accessible and robust for a wide range of applications."

So, between my personal experience, and the overview, it's safe it say you can recognize/synthesize speech in an offline mode.

Septenary answered 8/6, 2016 at 14:3 Comment(1)
Ok I am gonna try SAPI to implement in my application.Hitandrun

© 2022 - 2024 — McMap. All rights reserved.