Open vongrad opened 1 day ago
I believe the listenMode
did not have any functionality previously except being assigned to a value. I left the default behavior exactly the same except if the ListenMode.search
is set, we use EXTRA_LANGUAGE_MODEL=LANGUAGE_MODEL_WEB_SEARCH
.
Android speech recognition has an issue with recognizing short (1-3 letter) words as stated per: https://issuetracker.google.com/issues/280288200.
It appears that Google has finally fixed/improved this by setting
EXTRA_LANGUAGE_MODEL=LANGUAGE_MODEL_WEB_SEARCH
I propose that we could hook this functionality to theListenMode.search
for Android that is already supported by iOS and maps toSFSpeechRecognitionTaskHint.search
.