-
-
Notifications
You must be signed in to change notification settings - Fork 657
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
Auto detect source language #9
Comments
Yep. It's on the roadmap. Also related: argosopentech/argos-translate#9 Consider sponsoring @PJ-Finlay for this feature, or contribute a PR to Argos Translate. Once it's implemented there we can implement it here. |
Alternatively, it could be implemented with the from langdetect import detect
detect("War doesn't show who's right, just who's left.")
# Returns 'en' Not sure how accurate it is though |
Oh, interesting. We could add it via this library until support for (better?) detection is available in Argos Translate I suppose. Should be easy to swap it. If anyone wants to beat me with a pull request for this one.. go for it :) |
#12 👀 |
This can be closed! Thanks for the PR @vemonet ! 🙏 |
The api currently requests the source language. But it could be nice to have something like
source=auto
.The text was updated successfully, but these errors were encountered: