Hi, I have a question regarding the integration of the speech to text library called SFSpeechRecognizer. I need SFSpeechRecognizer to recognize terms that are not present in the iOS dictionary like medication names, chemistry terms, etc. I would have to add them, somehow, for SFSpeechRecognizer to be able to recognise them. Is this possible? Thanks
Teach SFSpeechRecognizer custom words (medication names, chemistry terms, etc)
Yes, to some extent https://developer.apple.com/documentation/speech/sfspeechrecognitionrequest/1649391-contextualstrings/ Unfortunately it requires to "Limit the total number of phrases to no more than 100" - so it does not seem to be suitable for dictionaries. (although have not tried myself, maybe it does work with 100+ words)
This contextualStrings dosn’t work in my app and mana people seem to have the same problem . Are there any further suggestions?