-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simulators/devices repeating the same words/sentences during the speech #61
Comments
Hey @RubenMCCarreira, since you're running continuous + interim results, you'll be receiving a list of results like the following:
So that means you should keep two stateful values: A "transcript" variable to show the user, and a "tally"
Here's an example from the example app: expo-speech-recognition/example/App.tsx Lines 87 to 106 in eef1cd0
|
so the issue that I am trying to handle is, after a couple of seconds of silence, I am receiving the result and I can't speech anymore. any recommendation or solution? to you this code is according the right lib implementation?
|
Hey @RubenMCCarreira, I'm not sure what your Also, just know that you may receive multiple final result events in a speech recognition session and the way you receive them will behave differently depending on a variety of factors (device, speech service, whether it's on-device, etc). In regards to continuous mode, continuous mode isn't currently available on Android 12 and below so you'll likely need to re-start speech recognition if that's the case. |
Using this code, the issue I encountered is that on some devices and simulators, everything works fine, but on others, the words I am saying are being repeated. For example, if I say, "Hello, are you there?", the result is: "hello hello are hello are you hello are you there.". I want to show to the user the current text, at the same time that he speaks, and keep the all text to send to the caller.
The text was updated successfully, but these errors were encountered: