Emoji Dictionary 🤓 📖
One of my favourite features of Mac OS X is the ability to point the mouse cursor at a word and press Command+Control+D to quickly see a popup definition courtesy of Dictionary.app:
It annoys me when I use this feature on an Emoji and it doesn’t work. 😠
During my job as a Technology Evangelist at Apple, I took great pride in learning as much as possible about the frameworks and tools that are provided to developers. One such toolkit allowed the creation of custom dictionaries for Mac OS X.
So I thought it would be fun to use the Dictionary Development Kit to create a simple dictionary of Emoji and their meanings. It was! You can grab the finished dictionary here: https://github.com/gingerbeardman/Emojipedia
How it works
I grabbed a comprehensive list of Emoji Data from the Unicode website, and then set about converting it. The process was as follows:
- Convert Emoji Data table to plain text (select all & copy in Chrome).
- Write some simple PHP to parse the text file and write out the XML.
- Setup build process.
- Test and repeat many times.
For each Emoji I store the name and emoji itself, along with a list of keywords and aliases. That way you can search by word or theme and more easily find the emoji you’re looking for. I also list the keywords in the definition, which Dictionary.app automatically converts into hyperlinks allowing you to browse the Emojipedia dictionary just like a website.
There’s only one place to go to find out information on any Emoji and that’s Emojipedia, a fantastic resource created by Jeremy Burge. I put a link to Emojipedia in every definition, so you can easily click through to find out more and continue learning about Emoji. I plan to work even closer with Emojipedia to include even more information in the dictionary file.
I offer a consultancy service that helps companies make better use of technology; from low level tools through to user interface and experience. Get in touch with me if you’d like to work together.
It only remains for me to wish you a Happy #WorldEmojiDay! 🌍