Samuel Thibault <[email protected]> writes:

> It seems CLDR does include an Emoji section that could perhaps be used?
>
> http://cldr.unicode.org/translation/short-names-and-keywords

We seem to have found a parseable list of emojis and their translations
(thanks to Simon).

https://unicode.org/repos/cldr/tags/latest/common/annotations/de.xml

would be the list for german.

I guess we just need to parse this, and generate our own translation
list.

Pretty simple with Python:

#!/usr/bin/python3

from lxml import etree

de = etree.parse("de.xml")
for item in de.getroot().xpath("//annotation[@type='tts']"):
    print("%s\t%s" % (item.get('cp'), item.text))

-- 
CYa,
  ⡍⠁⠗⠊⠕
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Reply via email to