I know that there is no public API for the SIRI-Services, but is there an API for simple Speech-Recognition? So if I have a textfield and the user taps onto that textfield, a keyboard with the typically microphone button appears and if he pressed it the speech get recognized and transformed into a string object? Or is this button maybe presented by default?
Android does have offline speech recognition capabilities. You can activate this by going to Settings - Language and Input - Voice Input and touch the cog icon next to Enhanced Google Services.
Overview. The speech recognition process involves capturing audio of the user's voice and sending that data to Apple's servers for processing. The audio you capture constitutes sensitive user data, and you must make every effort to protect it.
There are many libraries availble. You can use any of them.
openears // This is the best library
VocalKit (Deprecated for open ears)
Hope it helps you.
NOTE:
if you download openears (which contains a sample project called "OpenEarsSampleApp") @efimovD mentions this
Check the code in view controller and you will see an array with possible commands. This thing detects commands! Not some talk. It listens and tries to compare what you've said with the words from array
You can use the MindMeld iOS SDK provided by Expect Labs. It supports continuous (streaming) speech recognition on iOS. It also supports natural language understanding and content discovery for any custom content domain.
Try it out at: https://expectlabs.com/docs/sdks/ios/gettingStarted
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With