Description:
I have encountered an issue with SFSpeechRecognizer on iOS 18.0. During live dictation, if a natural pause (e.g., 1-2 seconds) is introduced, the previously transcribed text is cleared, and the transcription starts over. This behavior makes it difficult to use the API for real-time speech recognition scenarios where pauses are expected.
Steps to Reproduce: Open Apple's demo app "SpokenWord".
Start the dictation process using SFSpeechRecognizer.
Speak a few words, pause for 1-2 seconds, and then continue speaking.
Observe that the previously transcribed text is truncated, and the transcription starts anew.
Expected Behavior: The transcription should continue appending new results to the previous ones after a natural pause, maintaining a seamless user experience.
Observed Behavior: After a pause, the transcription resets, clearing previously transcribed text.
Impact: This behavior makes the SFSpeechRecognizer API unreliable for scenarios requiring continuous speech recognition with intermittent pauses.
Additional Information:
iOS Version: 18.0
Device: [Specify your device, e.g., iPhone 13 Pro]
Speech Recognizer Locale: [Specify locale, e.g., en-US]
App Behavior: Issue persists in both Apple's demo app ('SpokenWord') and custom implementations.