for entry in read_emoji(emoji_dict): | for entry in read_emoji(emoji_dict): | ||||
if isinstance(entry, Emoji): | if isinstance(entry, Emoji): | ||||
translation = annotations.get(entry.emoji, None) | |||||
translation = annotations.get(entry.emoji.replace("\uFE0F", ""), None) | |||||
if translation: | if translation: | ||||
length = len(entry.pronunciation.strip()) | length = len(entry.pronunciation.strip()) | ||||
tabs = entry.pronunciation.count('\t') - 1 | tabs = entry.pronunciation.count('\t') - 1 |