-
Notifications
You must be signed in to change notification settings - Fork 2
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
Polyglotr: translation of whole text fails, but it works for each individual chunk #13
Comments
Hi @larry77 , I've replicated the issue you encountered, and it appears to be related to a character limit when translating large texts. To address this, I've developed a new function called This function should allow users to translate large inputs without running into the character limit problem. Could you please test it and let me know if it meets your requirements? The function is currently available in the GitHub development version of Thank you! |
Hi, thanks for the quick reaction. |
If you do not plan to further modify this function, please let me know and I will close this ticket. |
Hi @larry77 , It is a valid request to parse vectors to the new function. |
Hi, now it is a mess. I get a vector where every entry is a combination of the original text and the translation. |
That is unfortunate. I have reverted the commit. I will get back to this issue at a later moment, due to time constraints in the coming time. Thanks for testing! |
Okay, in any case what we have is now good enough. |
Hello,
Please have a look at the reprex below. I have some text in Bulgarian (variable tt) which I would like to translate into English using google translate.
If I break tt into two chunks, tt1 and tt2, and then I translate each of them separately, then everything works.
However, if I try translating the whole text tt directly, then nothing is returned by polyglotr.
Is there a limitation on the number of characters? Or any idea about what the problem may be?
Thanks a lot!
Created on 2024-07-27 with reprex v2.1.0
The text was updated successfully, but these errors were encountered: