def normalize(text):
    text = text.replace(' ', '')
    text = text.replace('\n', '')
    text = neologdn.normalize(text)
    text = ''.join([('' if (c in emoji.UNICODE_EMOJI['en'].keys()) else c) for c in text])
    tmp = re.sub('(\\d)([,.])(\\d+)', '\\1\\3', text)
    tmp = re.sub('[!-/:-@[-`{-~]', ' ', text)
    text = re.sub(u'[■-♯]', ' ', tmp)
    text = text.strip()
    return text
def normalize(text):
    text = text.replace(' ', )
    text = text.replace('\n', )
    text = neologdn.normalize(text)
    text = .join([( if (c in emoji.UNICODE_EMOJI['en'].keys()) else c) for c in text])
    tmp = re.sub('(\\d)([,.])(\\d+)', '\\1\\3', text)
    tmp = re.sub('[!-/:-@[-`{-~]', ' ', text)
    text = re.sub(u'[■-♯]', ' ', tmp)
    text = text.strip()
    return text