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


A simple telegram Bot, Upload Media File| video To telegram using the direct download link. (youtube, Mediafire, google drive, mega drive, etc)

URL-Uploader (Bot) A Bot Upload file|video To Telegram using given Links. Features: 👉 Only Auth Users (AUTH_USERS) Can Use The Bot 👉 Upload YTDL Sup

Hash Minner 18 Dec 17, 2022
Simple Discord bot for snekbox (sandboxed Python code execution), self-host or use a global instance

snakeboxed Simple Discord bot for snekbox (sandboxed Python code execution), self-host or use a global instance

0 Jun 25, 2022
Github-Checker - Simple Tool To Check If Github User Available Or Not

Github Checker Simple Tool To Check If Github User Available Or Not Socials: Lan

ميخائيل 7 Jan 30, 2022
This project is based on discord.py and is meant to be a 'Quick Start Bot' to cut down on the time it takes to write complex discord bots.

This project is based on discord.py and is meant to be a 'Quick Start Bot' to cut down on the time it takes to write complex discord bots.

Alec Ibarra 1 Mar 03, 2022
Advanced Number Validator Using telnyx api

Number Validator Python v1.0.0 Number Validator Using telnyx api DISCLAIMER This Tool is only for educational purposes You'll be responsible yourself

xBlackxCoder 3 Sep 24, 2022
rewise is an unofficial wrapper for google search's auto-complete feature

rewise is an unofficial wrapper for google search's auto-complete feature

Somdev Sangwan 71 Jul 19, 2022
Python JIRA Library is the easiest way to automate JIRA. Support for py27 was dropped on 2019-10-14, do not raise bugs related to it.

Jira Python Library This library eases the use of the Jira REST API from Python and it has been used in production for years. As this is an open-sourc

PyContribs 1.7k Jan 06, 2023
Telegram Bot for saving and sharing personal and group notes

EZ Notes Bot (ezNotesBot) Telegram Bot for saving and sharing personal and group notes. Usage Personal notes: reply to any message in PM to save it as

Dash Eclipse 8 Nov 07, 2022
Best Buy Bot used to add products to cart for purchase.

To Install the Best Buy Bot These instructions are for Mac users only. Clone this Repo to your machine. BestBuyBot Open in VScode. Is Python installed

Robert Estrella 1 Dec 11, 2021
Maintained Fork of Jishaku For nextcord

Onami a debugging and utility extension for nextcord bots Read the documentation online. Fork Onami is a actively maintained fork of Jishaku for nextc

RPS 11 Dec 14, 2022
A demo titiler for Sentinel 2 Digital Twin dataset

This is a DEMO custom api built on top of TiTiler to create Web Map Tiles from the Digital Twin Sentinel-2 COG created by Sinergise

Development Seed 26 May 21, 2022
Sie_banxico - A python class for the Economic Information System (SIE) API of Banco de México

sie_banxico A python class for the Economic Information System (SIE) API of Banco de México. Args: token (str): A query token from Banco de México id_

Dillan 2 Apr 07, 2022
An advanced Filter Bot with nearly unlimitted filters!

Unlimited Filter Bot ㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤ An advanced Filter Bot with nearly unlimitted filters! Features Nearly unlimited filters Supports all type of fil

1 Nov 20, 2021
Bot made by BLACKSTORM[BM] Contact Us - t.me/BLACKSTORM18

ᴡʜᴀᴛ ɪs ᴊᴀʀᴠɪs sᴇᴄᴜʀɪᴛʏ ʙᴏᴛ ᴊᴀʀᴠɪs ʙᴏᴛ ɪs ᴛᴇʟᴇɢʀᴀᴍ ɢʀᴏᴜᴘ ᴍᴀɴᴀɢᴇʀ ʙᴏᴛ ᴡɪᴛʜ ᴍᴀɴʏ ғᴇᴀᴛᴜʀᴇs. ᴛʜɪs ʙᴏᴛ ʜᴇʟᴘs ʏᴏᴜ ᴛᴏ ᴍᴀɴᴀɢᴇ ʏᴏᴜʀ ɢʀᴏᴜᴘs ᴇᴀsɪʟʏ. ᴏʀɪɢɪɴᴀʟʟʏ ᴀ

1 Dec 11, 2021
Python Paxful API wrapper.

PyPaxful Python Paxful API wrapper. Description Just a Paxful exchange API implementation in python. Final objective is to have just one python packag

1 Dec 19, 2021
use python script to fix vmp dump api in ida

FixVmpDump use python script to fix vmp dump api in ida. support x86 and x64. details in my blog: https://blog.csdn.net/yan_star/article/details/11279

97 Nov 02, 2022
🔪 Block replies to viral tweets from users getting paid to promote useless products

This Tweet Took Off Ublock Origin filter list targeting long reply chains posted by twitter users who get paid to promote random products on viral twe

Xetera 12 Jan 14, 2022
A Simple and User-Friendly Google Collab Notebook with UI to transfer your data from Mega to Google Drive.

Mega to Google Drive (UI Added! 😊 ) A Simple and User-Friendly Google Collab Notebook with UI to transfer your data from Mega to Google Drive. ⚙️ How

Dr.Caduceus 18 Aug 16, 2022
Data and a Twitter bot for the EPA's DOCUMERICA (1972-1977) program.

documerica This repository holds JSON(L) artifacts and a few scripts related to managing archival data from the EPA's DOCUMERICA program. Contents: Ma

William Woodruff 2 Oct 27, 2021
Raphtory-client - The python client for the Raphtory project

Raphtory Client This is the python client for the Raphtory project Install via p

Raphtory 5 Apr 28, 2022