Clear input of SFSpeechAudioBufferRecognitionRequest after every result (Swift3)

Viewed 3945

I have integrated speech to text through this appcoda tutorial. The problem I am facing is I want that user can write/edit something himself, but SFSpeechAudioBufferRecognitionRequest doesn't take into consideration the thing user has typed.

What's the way to send user typed input in SFSpeechAudioBufferRecognitionRequest or any way to clear SFSpeechAudioBufferRecognitionRequest input params before sending new request.

Thanks in advance.

1 Answers
Related