We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
trans = Translator() print(trans.detect('Hello boy'))
answer:
Detected(lang=, confidence=0.0)
but it works for Russian (with zero confidence):
print(trans.detect('Привет')) # Detected(lang=ru, confidence=0.0)
The text was updated successfully, but these errors were encountered:
Found same issue running the example from help page.
>>> from pygoogletranslation import Translator >>> translator = Translator() >>> print(translator.detect('காலை வணக்கம்,')) Detected(lang=ta, confidence=0.0) >>> print (translator.detect('この文章は日本語で書かれました。')) Detected(lang=, confidence=0.0) >>> print(translator.detect('This sentence is written in English.')) Detected(lang=, confidence=0.0) >>> print(translator.detect('Tiu frazo estas skribita en Esperanto.')) Detected(lang=, confidence=0.0)
Sorry, something went wrong.
I'm having the same issue as well, any way to fix? @Saravananslb
Guuuuuuuuys, let's solve this problem, I've been waiting for a month
No branches or pull requests
answer:
but it works for Russian (with zero confidence):
The text was updated successfully, but these errors were encountered: