📚 Encyclopedia

Android · updated 2026-10-26

Emoji suggestions from Unicode CLDR keyword data

emojiunicodecldrkeyboardlicensingranking

Suggesting an emoji for a typed word ("pizza" to 🍕, "usa" to 🇺🇸) needs a word-to-emoji table. Matching the emoji's official Unicode name misses almost everything ("usa" is not in "flag: United States"); a hand list of 90 keywords covered 54 of the top 1,000 words. Building the table from Unicode CLDR took coverage of the top 10,000 English words from 325 to 1,363, and to about 4,750 words overall.

Sources and licenses

Ranking rules that worked

Capitals and country codes

Words still being typed

Looking up only the exact typed letters means "bunn" gets no 🐰 even while "bunny" sits on the strip. Fix (v1.27): when the typed letters are not a word themselves and are at least 3 letters long, borrow the emoji of the first strip guess that is the correction or starts with the typed letters. A known word with no emoji never borrows ("bun", "the" stay empty). Tapping the borrowed emoji replaces the typed letters. Results: piz to 🍕, coff to ☕, helo to 👋, fra to 🇫🇷.

Storage

Keep the generated file as one string plus a line-start index and binary-search it: no per-entry objects, one language in memory, no measurable change in cold open time.

See also

Linked from

Sources: keyboard memory (history v1.24.0), tldr post #1751, tldr post #1793