Use this tag for iOS 10+ Speech framework's main class SFSpeechRecognizer.
Questions tagged [sfspeechrecognizer]
119 questions
0
votes
1 answer
SFSpeechRecognizer Simultaneous Requests?
I am trying to use SFSpeechRecognizer to transcribe spoken commands in my app. The commands are only one word. The SFSpeechAudioBufferRecognitionRequest (from microphone tap) can take a few seconds to ultimately come back with an accurate…

BSohl
- 101
- 5
0
votes
1 answer
Swift 4 - XCTAssertThrowsError failed: did not throw an error
I'm testing the error handling for SFSpeechRecognizer. I'm not able to get the function to throw an error using XCTAssertThrowsError().
Creating SFSpeechRecognizer will return an object or nil if there is no locale.
public convenience init?() //…

Meep
- 501
- 6
- 24
0
votes
0 answers
AVAudioRecorder: Speed up playback speed of recording? (Not playback with speed with AVAudioPlayer)
I am trying to transcript a long recorded audio file with SFSpeechRecognizer. Unfortunately it seems to run in real time, e.g. if the audio file is 1 min long, SFSpeechRecognizer will take 1 min to transcript it.
I have not found an option yet to…

MJQZ1347
- 2,607
- 7
- 27
- 49
0
votes
0 answers
iOS Speech Recognition - SFSpeechAudioBufferRecognitionRequest overwrites edited transcription
My project uses iOS 10 speech recognition. For continuous speech, I use SFSpeechAudioBufferRecognitionRequest from Apple's speech library, and saving the result to a UITextView.
When the user pauses for x number of seconds, I want to add a period…

NodeMaster
- 85
- 1
- 5
0
votes
1 answer
Best approach to compare recognized speech with a known text
Given a known manuscript (text) which I expect the user to read (more or less accurately), what is the best approach to recognize the user's progress within the manuscript?
While I'm searching for a particular solution on iOS, I'm also interested in…

Mischa
- 15,816
- 8
- 59
- 117
0
votes
1 answer
Video Not Playing After SpeechRecognizer
Video not playing after SpeechRecognizer. Not getting any error just stuck on AVPlayerViewController. I have stopped speechRecognizer also. then after I am trying to play video. The video perfectly plays before speechRecognizer.
Maybe that possible…

Pramod Tapaniya
- 1,228
- 11
- 30
0
votes
2 answers
UWP - Speech Recognition - Can't reference an external grammar file
I am building an UWP application with speech recognition capability. I want to reference an external grammar file from within another -root- file.
Here is the code for the root grammar file (named RootGrammar.xml):

MohamedMokhtar
- 43
- 7
0
votes
1 answer
IOS/Objective-C/Swift/Speech: Specify Locale when declaring SFSpeech Recognizer variable
I am trying to translate some Swift which I am just learning to Objective-C for a Speech project.
Swift apparently allows you to specify the locale of a speechRecognizer when declaring the variable as follows:
private let speechRecognizer =…

user6631314
- 1,751
- 1
- 13
- 44
0
votes
1 answer
How to make SFSpeechRecongnizer Reusable for every UIViewControllers
Currently i'm working on speech to text for iOS 10 feature app. Here blow the code successfully return speech to text on my app. I need to implement this on several time (several viewController) My Question is Can someone explain how to do this as…

Pranavan SP
- 1,785
- 1
- 17
- 33
0
votes
1 answer
why is my SFSpeechRecognitionTaskDelegate fucntion not getting called in ios?
so i have some delegate functions and i have set delegate via
[speechRecognizer recognitionTaskWithRequest:recognitionRequest delegate:self];
but my delegate functions are not getting called
Is there something wrong with my recording function?
-…
user9479872
0
votes
1 answer
How to detect two different kind permission
I have a detecting permission code for firtly microphone and then speechrecognation for open new view.
But the code below created error like " This application is modifying the autolayout engine from a background thread after the engine was accessed…
user6613612
0
votes
1 answer
How to record in real time the audio sounds and then play them with the in-built speakers or headphones in iOS Swift?
I want to build an iOS app using AVAudioRecorder and AVAudioPlayer simoultaneously. Something like a megaphone that records in real time voices and sounds in the ambient and play them all in real time, without any type of sound processing. I want to…

kruti
- 47
- 1
- 8
0
votes
1 answer
Access to samples of speech recognized signal in C#?
How can i get acces to samples of signal that is processed by speechRecognitionEngine? [C#]
private void Form1_Load(object sender, EventArgs e)
{
SpeechRecognitionEngine engine = new…

Adas
- 65
- 5
0
votes
1 answer
offline voice input in ios app
Now i am developing ios app with speech to text using SFSpeechRecognizer.
It works well when internet is connected.But when no internet connection its not working as expected.Is there any way to implement speech to text functionality in…

selvarajmas
- 1,623
- 13
- 20