B4A Library SpeechRecognitionNoUI - Google Speech Recognition Without Popup

Cesaral

Member
I have tested the App and the library and they work well except that the Sub sr_PartialResults(Texts As List) is never called and I need it...

What could be the cause? Would it be possible to have the source code of this library to investigate the cause? Thanks!
 

Biswajit

Active Member
Licensed User
Longtime User
It's not related to the library source code. The event will be triggered by the system. Try to set partial_result = true when calling StartListening or try on another device once.
 

Cesaral

Member
It's not related to the library source code. The event will be triggered by the system. Try to set partial_result = true when calling StartListening or try on another device once.
Yes, I already did that with: StartListening("en_US", true, false)
But it does not give partial results.
Thanks
 

Biswajit

Active Member
Licensed User
Longtime User
dear

Biswajit


farsi : sr.StartListening("fa",True,False) does not work and return english , thank you for helping
You must also mention the region and the language code, like fa-IR. Also, check whether the language model is downloaded in your device for this specific language or not.

You can find the language code here, https://simplelocalize.io/data/locales/
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…