csdcorp / speech_to_text

A Flutter plugin that exposes device specific text to speech recognition capability.
BSD 3-Clause "New" or "Revised" License
351 stars 218 forks source link

Last word of spoken content gets lost in Android #434

Closed Jayasubin closed 6 months ago

Jayasubin commented 8 months ago

I am using this package to convert speech to text on Android, iOS, and the web. On iOS and web, speech is working fine, but on Android, the last word gets lost.

For example, if the user spoke out "What is the weather", the detected words come out as "What is the", leaving out the last word.

A quick google search gave me this android issue and this post where other people faced the same problem in the past.

Anyone has a solution for this?

sowens-csd commented 7 months ago

Disappointing that Google would let an apparently major issue sit unresolved for this long. Doesn't look like there's anything the plugin can do to mitigate it. Unless you have new information I'm tempted to add this to the FAQ and close this issue. Thoughts?

sowens-csd commented 6 months ago

I've added a note to the README for 6.4.0 and I'm going to close this as there's nothing the plugin can do.

ghost commented 6 months ago

The issue still exists in other products like G-Board that use Google's speech recognition service. I have not found a solution yet, but this issue may be closed as you said there is nothing the plugin can do to solve the problem. Let's hope that google will rollout a fix soon.

Disappointing that Google would let an apparently major issue sit unresolved for this long. Doesn't look like there's anything the plugin can do to mitigate it. Unless you have new information I'm tempted to add this to the FAQ and close this issue. Thoughts?