def tokenizer_emoticons(text):
    text = re.sub('<[^>]*>', '', text)
    emoticons = re.findall('(?::|;|=)(?:-)?(?:\)|\(|D|P)', text)
    return emoticons
Return emoticons from text
dataset/ETHPy150Open rasbt/mlxtend/mlxtend/text/tokenizer.py/tokenizer_emoticons