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
Hi,
According to the document, it should return a 2-letter language code but is returning a 3-letter code.
That's okay as I found IsoCode3To1 in the code and are using that.
Might go through the document so it is 3-letter and not 2-letter
For reference, this is how I did it:
code = Cadmium::LanguageDetector.new.detect(text) Cadmium::Language::IsoCode3To1.new.codes[code]
The text was updated successfully, but these errors were encountered:
What is the code that the first line is returning? Or the text you're testing on?
Sorry, something went wrong.
No branches or pull requests
Hi,
According to the document, it should return a 2-letter language code but is returning a 3-letter code.
That's okay as I found IsoCode3To1 in the code and are using that.
Might go through the document so it is 3-letter and not 2-letter
For reference, this is how I did it:
The text was updated successfully, but these errors were encountered: