Open kristi-sara opened 2 years ago
!pip install emoji import emoji
make sure emoji works by running: print(emoji.emojize('Python is:thumbs_up:'))
!python 'utils/emojis.py' 'output_data/ecodatasci_flat.jsonl' > 'output_data/eds_emojis.txt'
Putting single quotes around the code will spit out the emojis. This also takes some time to run to collect emojis. I was able to get cats and gas emojis from the stuff we ran this morning
Does twarc2 not have its own version of the emojis utility?
!pip install emoji import emoji
make sure emoji works by running: print(emoji.emojize('Python is:thumbs_up:'))
!python 'utils/emojis.py' 'output_data/ecodatasci_flat.jsonl' > 'output_data/eds_emojis.txt'
Putting single quotes around the code will spit out the emojis. This also takes some time to run to collect emojis. I was able to get cats and gas emojis from the stuff we ran this morning