Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _strip_emojis(text):
emojis = set([emoji['value'] for emoji in emot.emoji(text)])
normalized = text
for emoji in emojis:
normalized = normalized.replace(emoji, '')
return normalized