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


Tracks twitter spaces and sends it to a discord webhook.

Tracks twitter spaces and sends it to a discord webhook. Uses the twitter api to find twitter spaces and then the m3u8 url for the space is found using selenium and will have it posted using a discor

Sam Phung 20 Dec 17, 2022
Yok bentar lagi update Premium :( DI FOLLOW YA GUYS

SIMBF + PREMIUM PRINTAH PENGINSTALAN ON TERMUX $ pkg update && upgrade $ termux-setup-storage $ pkg install python $ pkg install git $ pip install bs4

Jeeck 21 Jan 14, 2022
Python bindings for swm-core client REST API

Python bindings for swm-core client REST API Description Sky Port is an universal bus between user software and compute resources. It can also be cons

Sky Workflows 1 Jan 01, 2022
A bot that can play songs in Telegram group voice chats like AK 47

🎧 47Music Player 🎧 A bot that can play songs in Telegram group voice chats like AK 47 ✨ Easy To Deploy Pyrogram Session Config Vars API_ID : Assista

Janindu Malshan 23 Dec 07, 2022
A python script that can send notifications to your phone via SMS text

Discord SMS Notification A python script that help you send text message to your phone one of your desire discord channel have a new message. The proj

2 Apr 25, 2022
Project to list all resources in an AWS account with tags.

AWS-ListAll Project to list all resources in an AWS account with tags. This script works on any system Get started: Install python3 and pip3 along wit

Connor Shubham Verlekar 3 Jan 30, 2022
A Python Library to interface with Tumblr v2 REST API & OAuth

Tumblpy Tumblpy is a Python library to help interface with Tumblr v2 REST API & OAuth Features Retrieve user information and blog information Common T

Mike Helmick 125 Jun 20, 2022
Quadrirrotor UFABC - ROS/Gazebo

QuadROS_UFABC - Repositório utilizado durante minha dissertação de mestrado para simular sistemas de controle e estimação para navegação de um quadrirrotor utilizando visão computacional.

Mateus Ribeiro 1 Dec 13, 2022
PyDiscord, a maintained fork of discord.py, is a python wrapper for the Discord API.

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

Omkaar 1 Jan 16, 2022
Projeto sobre BioInformática - MoA (mecanismos de ação)

Projeto: MoA no Paredawn Projeto sobre Bioinformatica - Mecanismos de Ação (MoA) MODELO PREDITIVO PARA PREVER O ATIVAMENTO DO MOA E MODELO PARA PREVER

Junior Torres 36 Feb 15, 2022
Deepl - DeepL Free API For Python

DeepL DeepL Free API Notice Since I don't want to make my AuthKey public, if you

Vincent Young 4 Apr 11, 2022
A python script fetches all your starred repositories from your GitHub account and clones them to your server so you will never lose important resources

A python script fetches all your starred repositories from your GitHub account and clones them to your server so you will never lose important resources

Ringo Hoffmann 27 Oct 01, 2022
Image Tooᥣs Bot I specialize for logo design Services with Amazing logo Creator Platform and more tools

Image Tooᥣs Bot I specialize for logo design Services with Amazing logo Creator Platform and more tools

Sz Team Bots <sz/>✌️ 10 Oct 21, 2022
Mass Instagram Checker

Mass Instagram Checker

X - MrG3P5 5 Nov 09, 2022
Pure Python implementation of the Windows API method IDvdInfo2::GetDiscID.

pydvdid-m Pure Python implementation of the Windows API method IDvdInfo2::GetDiscID. This is a modification of sjwood's pydvdid. The Windows API metho

4 Nov 22, 2022
Projeto de teste para acesso a API SWAPI.

SwapiTest Projeto de teste para acesso a API Swapi com informações sobre Star Wars. Como rodar o programa Foi utilizado o pipenv, então basta clonar o

Gabriel de Souza Alves 1 Nov 23, 2021
Total servers you're in!

Discord-Servercount With this script you can check the amount of servers you are in, along with statistics of how many servers you are owner in and in

Nickyux 1 Feb 12, 2022
A bot that connects your guild chat to a Discord channel, written in Python.

Guild Chat Bot A bot that connects your guild chat to a discord channel. Uses discord.py and pyCraft Deploy on Railway Railway is a cloud development

Evernote 10 Sep 25, 2022
Configure your linux server and check for vulnerabilities with serverlla

serverlla Configure your linux server and check for vulnerabilities with serverlla. Serverlla has a menu with options and allows you to configure your

Dylan Meca 10 Feb 01, 2022
Бот для мини-игры "Рабы" ("Рабство") ВКонтакте.

vk-slaves-bot Бот для мини-игры "Рабы" ("Рабство") ВК Группа в ВК, в ней публикуются новости и другая полезная информация. У группы есть беседа, в кот

Almaz 80 Dec 17, 2022