Opensource #reddit Sentiment Analysis and Sentence Randomizer
▻https://hackernoon.com/opensource-reddit-sentiment-analysis-and-sentence-randomizer-48090ddd5be
▻https://github.com/DunnCreativeSS/redditSentimentCombinerConnect to gsheets for later: ▻https://docs.google.com/spreadsheets/d/1rX4mniePZLIUCIFd7H2EdMioR_ip3LhtAjxJ2VclvXg/edit?usp=sharingConnect to RedditLoad top 1000 /r/bitcoin hot postsTake the raw text, split it into an array on newline chars, filter out empty stringsCreate an array of judged sentiments from the Natural Language Toolkkit’s Vader function for each string in array from step 4For each of the sentiments from step 5, grab the compound (overall) sentiment rating (which is based on values attributed to keywords and etc., wort a search on your favorite engine) and check if it’s above or below a threshold value, then make them lowercase and replace ‘bitcoin’ with ‘our coin’ and ‘btc’ with ‘our ticker’ and ensure the string doesn’t (...)