Picovoice / picovoice

On-device voice assistant platform powered by deep learning
Apache License 2.0
561 stars 109 forks source link

Picovoice Platform Issue: Difficulty in developing the Arabic language #839

Closed Mohamedezoo closed 1 month ago

Mohamedezoo commented 1 month ago

Have you checked the docs and existing issues?

SDK

Flutter

Picovoice package version

3.0.3

Framework version

flutter 3.3.9

Platform

Android

OS/Browser version

Android verion 13

Describe the bug

The whole system works fine until the _wakeWordCallback stage Even I have a hard time understanding why the inference slots are not extracted, I don't know why, although it gives me one correct result, this means that the program is working fairly well

Steps To Reproduce

  1. normal code for Platform Flutter
  2. all files that I used files.zip

Expected Behavior

inference, slots For example Ours : (slot: عشرة) Theirs: (slot: عشرة)

albho commented 1 month ago

@Mohamedezoo - could you give our demo a try and see if you can reproduce the issue? This lets us know whether it's an issue with your Flutter setup or with the usage of the binding.

Mohamedezoo commented 1 month ago

yes, I tried the demo version, and there is no difference, even on your console website I saw the same result

albho commented 1 month ago

Not quite sure I understand the issue - what exactly is not working as expected at the _wakeWordCallback stage? Are there any error messages that are logged?

Mohamedezoo commented 1 month ago

Not in _wakeWordCallback stage this work fine .., after that in _inferenceCallback it doesn't detected the voice to give me inference, it just gives me null except ( the example gives me a good result --- ( when I say by Arabic: عشرة it works, nothing else ... ) ) and everything is good in files , there is bug in Arabic lang nothing good in inference

albho commented 1 month ago

If I understand correctly, you were able to get our demo working but in your application _inferenceCallback does not recognize anything? Are you using one of our default Rhino context files (.rhn) or did you train your own in console?

albho commented 1 month ago

Closing due to inactivity. Feel free to re-open if the issue persists.