You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have not found any information about language identificator "l1" in the basic documentation of transliterate package. The problem is that German text was recognized as l1. However, it should be "de" according to my code and output (as you can see in further examples on the attached screen, in the fourth column "DIE EINHEIT" was identified correctly as "de", but "DEUTSCHE WAHRHEIT..." was identified as l1).
I also found this submodule http://pythonhosted.org/transliterate/transliterate.contrib.languages.l1.html
If it is Latin 1, then why does it emerge like that?
The text was updated successfully, but these errors were encountered:
Well, German uses Latin script (with some additions).
I guess you have created a new language pack for transliterating from/to German. In that case, you should explicitly provider the language pack code to/from which you plan to transliterate.
I suggest you to use another library for language detection Google and transliterate for transliteration.
I have not found any information about language identificator "l1" in the basic documentation of transliterate package. The problem is that German text was recognized as l1. However, it should be "de" according to my code and output (as you can see in further examples on the attached screen, in the fourth column "DIE EINHEIT" was identified correctly as "de", but "DEUTSCHE WAHRHEIT..." was identified as l1).
I also found this submodule
http://pythonhosted.org/transliterate/transliterate.contrib.languages.l1.html
If it is Latin 1, then why does it emerge like that?
The text was updated successfully, but these errors were encountered: