Reddit bot that uses sentiment analysis

Overview

Reddit Bot Project 2: Neural Network Boogaloo

Reddit bot that uses sentiment analysis from NLTK.VADER

WIP_WIP_WIP_WIP_WIP_WIP

Link to test subreddit: https://www.reddit.com/r/RBotProject/comments/qbyogh/testing_neural_network_sentiment_analysis/

I learned a lot from this mini-project. Although there are many features to impliment, my goal was achieved.

NOTE: I realised that the 100% Neutral rated comments came out as overall negative, that is because I made an error with the polRating if-else statement.

Results as of latest update of code:

Bot in action:

BiA

|This is the name of the subreddit title post|

Testing Neural Network Sentiment Analysis

|Proceeds to reply to every comment with an analysis|


This subreddit sucks.

sentence was rated as 74.40% Negative

sentence was rated as 25.60% Neutral

sentence was rated as 0.00% Positive

overall sentence rating conducted by VADER: Negative


I love this subreddit

sentence was rated as 0.00% Negative

sentence was rated as 19.20% Neutral

sentence was rated as 80.80% Positive

overall sentence rating conducted by VADER: Positive


This SubReddiT is Stoopid

("stoopid" is not recognised in the VADER lexicon as a slang term for stupid/dumb)

sentence was rated as 0.00% Negative

sentence was rated as 100.00% Neutral

sentence was rated as 0.00% Positive

overall sentence rating conducted by VADER: Negative


Why is this sub so kwl?

("kwl" is not recognised in the VADER lexicon as a slang term for cool)

sentence was rated as 0.00% Negative

sentence was rated as 100.00% Neutral

sentence was rated as 0.00% Positive

overall sentence rating conducted by VADER: Negative


Hello

sentence was rated as 0.00% Negative

sentence was rated as 100.00% Neutral

sentence was rated as 0.00% Positive

overall sentence rating conducted by VADER: Negative


Sux

sentence was rated as 100.00% Negative

sentence was rated as 0.00% Neutral

sentence was rated as 0.00% Positive

overall sentence rating conducted by VADER: Negative


You are very good at your job- efficient. but you don't seem to really like being here.

sentence was rated as 19.30% Negative

sentence was rated as 33.30% Neutral

sentence was rated as 47.40% Positive

overall sentence rating conducted by VADER: Positive


Sorry, I wasn't listening. Can you say it again?

sentence was rated as 24.50% Negative

sentence was rated as 75.50% Neutral

sentence was rated as 0.00% Positive

overall sentence rating conducted by VADER: Negative


I hope your children are born naked and illiterate!

sentence was rated as 0.00% Negative

sentence was rated as 58.00% Neutral

sentence was rated as 42.00% Positive

overall sentence rating conducted by VADER: Neutral


Well done with this test!

sentence was rated as 0.00% Negative

sentence was rated as 48.80% Neutral

sentence was rated as 51.20% Positive

overall sentence rating conducted by VADER: Neutral


Proud of you

sentence was rated as 0.00% Negative

sentence was rated as 0.00% Neutral

sentence was rated as 100.00% Positive

overall sentence rating conducted by VADER: Neutral


Dogs write better codes than you.

sentence was rated as 0.00% Negative

sentence was rated as 50.80% Neutral

sentence was rated as 49.20% Positive

overall sentence rating conducted by VADER: Neutral


The coder is an idiot, I'm super smart.

sentence was rated as 27.70% Negative

sentence was rated as 16.80% Neutral

sentence was rated as 55.50% Positive

overall sentence rating conducted by VADER: Positive


Widevine CDM API

wvproxy Widevine CDM API Setup Install Python 3.6 or newer and Poetry Install Python package dependencies using poetry install Activate the virtual en

24 Dec 09, 2022
A simple Telegram bot which handles images in whole different way

zeroimagebot thezeroimagebot 🌟 I Can Edit Dimension Of An image which is required by @stickers 🌟 I Can Extract Text From An Image 🌟 !!! New Updates

RAVEEN KUMAR 4 Jul 01, 2021
Check your bot status automatically using userbot, simply and easy

Status Checker Userbot check your bot status automatically using userbot, simply and easy. Mandatory Vars API_ID : Telegram API_ID, get it from my.tel

ALBY 6 Feb 20, 2022
Most Advance Trading Bot Support Windows Linux Mac

GUI Pancakeswap 2 and Uniswap 3 SNIPER BOT 🏆 🥇 (MOST ADVANCE TRADING BOT SUPPORT WINDOWS LINUX MAC) (AUTO BUY TOKEN ON LAUNCH AFTER ADD LIQUIDITY) S

1 Dec 26, 2021
𝐀 𝐦𝐨𝐝𝐮𝐥𝐚𝐫 𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦 𝐆𝐫𝐨𝐮𝐩 𝐦𝐚𝐧𝐚𝐠𝐞𝐦𝐞𝐧𝐭 𝐛𝐨𝐭 𝐰𝐢𝐭𝐡 𝐮𝐥𝐭𝐢𝐦𝐚𝐭𝐞 𝐟𝐞𝐚𝐭𝐮𝐫𝐞𝐬 !!

𝐇𝐨𝐰 𝐓𝐨 𝐃𝐞𝐩𝐥𝐨𝐲 For easiest way to deploy this Bot click on the below button 𝐌𝐚𝐝𝐞 𝐁𝐲 𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐆𝐫𝐨𝐮𝐩 𝐒𝐨𝐮𝐫𝐜𝐞𝐬 𝐆𝐞𝐧𝐞?

Mukesh Solanki 4 Oct 18, 2021
Track live sentiment for stocks from Reddit and Twitter and identify growing stocks

Market Sentiment About This repository can mainly be used for two things. a. Tracking the live sentiment of stocks from Reddit and Twitter b. Tracking

Market Sentiment 345 Dec 17, 2022
Some examples regarding how to use the Twitter APIs for academic research

Twitter Developer Platform: Using Twitter APIs for Academic Research All the scripts require a config.ini file in which the keys are put. There is a t

Federico Bianchi 6 Feb 13, 2022
A comand-line utility for taking automated screenshots of websites

shot-scraper A comand-line utility for taking automated screenshots of websites For background on this project see shot-scraper: automated screenshots

Simon Willison 837 Jan 07, 2023
A Python interface between Earth Engine and xarray for processing weather and climate data

wxee What is wxee? wxee was built to make processing gridded, mesoscale time series weather and climate data quick and easy by integrating the data ca

Aaron Zuspan 160 Dec 31, 2022
API Wrapper for seedr.cc

Seedr Python Client Seedr API built with 💛 by Souvik Pratiher Hit that Star button if you like this kind of SDKs and wants more of similar SDKs for o

Souvik Pratiher 2 Oct 24, 2021
Send GitHub Issues, PRs or Discussions Updates to Wechat

Send GitHub Issues, PRs or Discussions Updates to Wechat

Hollow Man 2 Jul 12, 2022
Unofficial YooMoney API python library

API Yoomoney - unofficial python library This is an unofficial YooMoney API python library. Summary Introduction Features Installation Quick start Acc

Aleksey Korshuk 136 Dec 30, 2022
This repository contains code written in the AWS Cloud Development Kit (CDK)

This repository contains code written in the AWS Cloud Development Kit (CDK) which launches infrastructure across two different regions to demonstrate using AWS AppSync in a multi-region setup.

AWS Samples 5 Jun 03, 2022
A Discord/Xenforo bot!

telathbot A Discord/Xenforo bot! Pre-requisites pyenv (via installer) poetry Docker (with Go version of docker compose enabled) Local development Crea

Telath 4 Mar 09, 2022
fair-test is a library to build and deploy FAIR metrics tests APIs supporting the specifications used by the FAIRMetrics working group.

☑️ FAIR test fair-test is a library to build and deploy FAIR metrics tests APIs supporting the specifications used by the FAIRMetrics working group. I

Maastricht University IDS 6 Oct 30, 2022
Spotify playlist anonymizer.

Spotify heavily personalizes auto-generated playlists like Song Radio based on the music you've listened to in the past. But sometimes you want to listen to Song Radio precisely to hear some fresh so

Jakob de Maeyer 9 Nov 27, 2022
A file-based quote bot written in Python

Let's Write a Python Quote Bot! This repository will get you started with building a quote bot in Python. It's meant to be used along with the Learnin

1 Nov 01, 2021
Twitter for Python!

Tweepy: Twitter for Python! Installation The easiest way to install the latest version from PyPI is by using pip: pip install tweepy You can also use

9.4k Jan 07, 2023
DragDev Maintained Instance Of discord.py

discord.py - DragDev Flavour A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. The Future of discord.py

DragDev Studios 3 Aug 27, 2022
PHION's client-side core python library

PHION-core PHION's client-side core python library. This library is not meant to be used directly by users. If you want to install phion please use th

PHION 2 Feb 07, 2022