pycld2
pycld2 copied to clipboard
Updated deprecated language code for Hebrew from 'iw' to 'he'.
Hi,
When using the model, lang detection for Hebrew returns language code "iw".
According to ISO 639-1, this language code is deprecated and now the standard is "he".
langdetect, and fasttext correctly returns 'he' for the same input.
Reference: http://www.mathguide.de/info/tools/languagecode.html
I see that some issue was already opened here - https://github.com/aboSamoor/polyglot/issues/64