Archive
Posts Tagged ‘twitter’
sanitizing tweets
February 12, 2018
Leave a comment
Problem
You have the text of a tweet and you want to get rid of the bullshit (smileys, emojis, etc.)
Solution
See https://github.com/s/preprocessor. It’s customizable, you can select what to remove, e.g. URLs, smileys, etc.
Categories: python
sanitize, text preprocessing, tweet, twitter
get the tweets of a user and save them in CSV
July 16, 2016
Leave a comment
@grammer_man is the best troll
January 11, 2012
Leave a comment
“…decided to write a little twitter bot. There he is above. His name is Grammer_Man and he corrects other twitter users’ misspellings, using data scraped from these Wikipedia pages. … You can see who’s responding at the moment by searching for @grammer_man.” (aengus)
It is worth checking out the reactions of the victims. Most of them have no idea that they reply to a bot :))))