Questions tagged [apple-speech]

Use this tag for questions about Apple's Speech framework available on iOS and macOS.

For more information, see the Speech documentation.

13 questions
26
votes
2 answers

Is there a way to use iOS speech recognition in offline mode?

I want to know if there's a way to use iOS speech recognition in offline mode. According to the documentation (https://developer.apple.com/reference/speech) I didn't see anything about it.
Danyl
  • 2,012
  • 3
  • 19
  • 40
10
votes
2 answers

Speech Recognition Limits for iOS 10

Does anyone know are there limits for the speech recognition in iOS 10 (per device or per app)?
lithium
  • 1,272
  • 1
  • 14
  • 28
9
votes
0 answers

Make `contextualStrings` more likely when using SFSpeechRecognitionRequest

I'm using iOS 10 new Speech API, and I'm setting the SFSpeechRecognitionRequest's contextualStrings. However the words have a very low probability - I guess - so they don't get recognized. Is there a way I could make them more likely to be…
5
votes
1 answer

How to provide hint to iOS speech recognition API?

I want to create an app that receive voice input using iOS speech API. In google's API, there is an option for speechContext which I can provide hint or bias to some uncommon words. Do iOS API provide this feature? I've been searching the site for…
Thanon K
  • 177
  • 8
3
votes
0 answers

Does the iOS Speech API support grammar?

I was investigating various Speech Recognition strategies and I liked the idea of grammars as defined in the Web Speech spec. It seems that if you can tell the speech recognition service that you expect “Yes” or “No”, the service could more reliably…
binki
  • 7,754
  • 5
  • 64
  • 110
3
votes
1 answer

iOS 10 Speech recognition `kAFAssistantErrorDomain` error codes

Where can I find definitions for different error codes with in kAFAssistantErrorDomain in iOS 10 Speech Recognition API?
Markus Rautopuro
  • 7,997
  • 6
  • 47
  • 60
2
votes
0 answers

In Swift How to recognise multiple voices in a audio file?

I have a Mp3 audio file, which i am converting into text with 'Speech Framework'. Now i Want to recognise multiple user voices in that converted text file. How i will do this? Here is my function where i am converting audio file to text. func…
shelen
  • 105
  • 1
  • 7
1
vote
2 answers

Apple SpeechRecognition and Dictation take more than 50% CPU

I have a mac of the below configuration MacBook Pro (Retina, 15-inch, Mid 2015) OS: macOS Catalina CPU: 2.5 GHz Quad-Core Intel Core i7 Memory: 16 GB 1600 MHz DDR3 Graphics: Intel Iris Pro 1536 MB After updating my OS from Siera to Catalina. The…
Zenith
  • 1,037
  • 1
  • 10
  • 21
0
votes
0 answers

Why is Speech Framework speech recognition for voice to text conversion repeating words?

I have this code that uses recognitionTask(with:resultHandler:) that repeats the words recognized. func transcribeFile(url: URL) { print("#", #function) // 1 guard let recognizer = SFSpeechRecognizer() else { print("Speech…
daniel
  • 1,446
  • 3
  • 29
  • 65
0
votes
1 answer

SFSpeechRecognizer not authorized cases never entered

I am following a simple tutorial here to get iOS speech recognition working. Even when a user denies microphone access, when I run it in simulator, it always goes in the authorized case and prints out authorized, even before the user selects Allow…
JAM
  • 740
  • 3
  • 15
  • 33
0
votes
0 answers

apple speech api just recognize for long time

I am using Apple speech to recognize voice for one hour but Apple speech just recognize the voice one minute. I read that I can make more the one request to recognize the voice more than one minute, but I don't know how. here is my code import…
Dalal mh
  • 1
  • 4
0
votes
2 answers

Text to speech error, conflicting with the speech to text button

I am trying to use iOS speech to text api and text to speech api together. Basically a user will speak and what they say will be transcribed in a textview. Then the user will press a button which will provide text to speech from the transcribed…
aneey123
  • 51
  • 1
  • 3
-2
votes
1 answer

Can AVSpeechSynthesizer solve speech recognition in background?

unfortunately, i didn't find any solution to recognize user speech in background, I just yesterday read about AVSpeechSynthesizer. sorry i didn't read a lot about AVSpeechSynthesizer and I should submit my project on Thursday. really I need to solve…