Emojis extraction: can someone help?


#1

Could someone please share an example of how to extract emojis and other special symbols from a tweet (say from the csv training file)?

Ideally, this function, extract_emojis(csv_file), should load (and possible encode) the csv_file, and output a Python list with each emoji found in csv_file.

I understand that there is an emoji Python library that should be able to do this task, but, in Python 3.6, all I am getting is a series of “#” and I suspect that there is some encoding that needs to be done but with which I am not acquainted.

My objective is to get another feature (emojis used in negative and regular tweets) that might help in distinguishing these 2 tweet categories.