Here is an application I built over the past few days. It was designed to practice using functionality I hope to incorporate into future projects.
https://sentiment_cartography.anvilapp.net/
Here is how it works:
- Enter a name, word, or phrase.
- On the server side,
a) A Twitter search will look for tweets matching the given phrase.
b) For each tweet, very rough sentiment analysis is performed using textblob.
c) A fancy parsing function attempts to convert the location of each tweet from a string (i.e. Paris, France) to a latitude/longitude - On the client side, these results are shown on a Google map.
I can post some of the code below in the comments. Please let me know what you think and report any annoying errors.
Cheers,
Alek