Skip to content
New issue

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

[WIP] Support Twemoji v12.0 #50

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

[WIP] Support Twemoji v12.0 #50

wants to merge 2 commits into from

Conversation

JuanitoFatas
Copy link
Contributor

@JuanitoFatas JuanitoFatas commented Jun 1, 2019

🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧

Working Pull Request in order to keep up with Twemoji upstream.

The first step is to have all the names from Unicode data.

When this work is done, archive https://github.com/jollygoodcode/emoji-keywords, which was a scrappy solution looking at now 🤦‍♂

Unicode 12.0 data: https://unicode.org/Public/emoji/12.0/
CLDR 35.1: http://unicode.org/Public/cldr/35.1/

🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧 🚧

ED-17a. qualified emoji character — An emoji character in a string that (a) has default emoji presentation or (b) is the first character in an emoji modifier sequence or (c) is not a default emoji presentation character, but is the first character in an emoji presentation sequence.

ED-18. fully-qualified emoji — A qualified emoji character, or an emoji sequence in which each emoji character is qualified.

ED-18a. minimally-qualified emoji — An emoji sequence in which the first character is qualified but the sequence is not fully qualified.

ED-19. unqualified emoji — An emoji that is neither fully-qualified nor minimally qualified.

http://www.unicode.org/reports/tr51/tr51-16.html

using easier to understand Dir instead of git command
The Rakefile is defined under lib/tasks/db.rake.

Necessary files will download from https://github.com/unicode-org/cldr,
and save in vendor folder under cldr release version folder.

- parse emojis from cldr release, version can be changed at emoji_data_files.

The emojis are from emoji_test.txt (starting from release-32)

and keywords (names) are from cldr annotations and annotationsDerived.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant