AVSpeechSynthesizer willSpeakRangeOfSpeechString cuts words

Originator:enreas
Number:rdar://25164031 Date Originated:15-Mar-2016 10:57 AM
Status:Open Resolved:No
Product:iOS, Xcode Product Version:iOS 10.1 (14B72) and Xcode 8.1 (8B62)
Classification:Serious Bug Reproducible:Always
 
When speaking an english text containing the word "de", AVSpeechSynthesizer won't report correctly the range of the words after that through the delegate willSpeakRangeOfSpeechString.

Steps to Reproduce:
1. Open the attached project: https://www.dropbox.com/s/7nkr6puwhx6f258/Synth.zip?dl=0.
2. Run it and look at the result in the console.

Expected Results:
"The"
"words"
"after"
"de"
"will"
"be"
"cut"

Actual Results:
"The"
"words"
"after"
"de "
"ill "
"e "
"ut"

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!