-
Notifications
You must be signed in to change notification settings - Fork 529
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
[BUG] When translating, the translation result will keep adding text. #81
Comments
Thank you for reporting this bug, I will investigate on this. |
Hi, is this problem difficult to solve, and can you estimate how long it will take to resolve it? Because this issue occurs frequently, it's quite troublesome for me. Thanks! By the way, if you need help, I know some Java and Android. |
In addition to adding a full stop at the end, and forcibly breaking the entered text. I tried to add the java code snapper below in this place. Without modifying the model, this problem can be solved.
But the root cause is a model problem. |
@codeAndxv Thank you for your input, this would definitely help. I'll try this change and others next week (I started a new job so I don't have much time, but I should be able to get around to it). |
The new release that should mitigate this problem is out 🚀, let me know if the problem occurs less. |
It look fine, Thanks. |
@zhl111 have you tried RTranslator 2.1.2? |
Yes, this is the version I use. My mobile phone is Samsung s23ultra, is it related to the system of the mobile phone? |
@zhl111 Ok, I don't think this is due to the system of the phone, but it can be due to the tts you use. Everything turn gray (and stay gray) after the transcription appear or before? And if you turn off the TTS (from the top right speaker button in the WalkieTalkie mode) the problem goes away? |
It's all right |
@zhl111 what tts are you using? |
google tts |
@zhl111 That's strange, when everything turn gray, it stay gray forever or it return green after the sentence is spoken? |
Before, all the buttons were gray, now they turn green after the sentence is finished |
@zhl111 Ok, before the bug we discussed was the problem, now the app behaves normally. In WalkieTalkie mode while the app processes the translation and the tts speaks the microphone deactivates because otherwise, the app would recognize the audio of the tts, translating in a loop (the Conversation mode instead, using Bluetooth headphones, never interrupts the microphones because with headphones you obviously don't have this problem). |
Thank you for wanting to report a bug! But before starting, ensure to check if this bug report respects the following requirements:
Describe the bug
When I type "你好啊世界如何看待目前的经济局势失业很严重大家都找不到工作未来会变的好吗", it is translated from Chinese to English. The translation results will always append text, just like the one I took in the screenshot. I'm using the latest v2.0.0 commit code
,6bf51c1e2f70
Screenshots
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: