Is there a library that tells what script a particular unicode character belongs to?
For example for the input "u'ሕ'" it should return Ethiopic or similar.
Maybe the data in the unicodedata module is what you are looking for:
print unicodedata.name(u"ሕ")
prints
ETHIOPIC SYLLABLE HHE
The printed name can be used to look up the corresponding character:
unicodedata.lookup("ETHIOPIC SYLLABLE HHE")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With