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


Wrapper for shh/rsync for use with OpenFOAM and blue bear

bbsync wrapper for shh/rsync for use with OpenFOAM and blue bear About The Project bbsync is a wrapper for shh/rsync for use with OpenFOAM and blue be

1 Dec 10, 2021
Twitter Analysis of MIUUL CEO

Twitter Analysis of MIUUL CEO Business Problem I got last @mvahitkeskin 184 twee

Çağrı Karadeniz 6 Mar 12, 2022
Integrating Amazon API Gateway private endpoints with on-premises networks

Integrating Amazon API Gateway private endpoints with on-premises networks Read the blog about this application: Integrating Amazon API Gateway privat

AWS Samples 12 Sep 09, 2022
Reddit bot that uses sentiment analysis

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:

TpK 1 Oct 24, 2021
Beyonic API Python official client library simplified examples using Flask, Django and Fast API.

Beyonic API Python official client library simplified examples using Flask, Django and Fast API.

Python client library for Bigcommerce API

Bigcommerce API Python Client Wrapper over the requests library for communicating with the Bigcommerce v2 API. Install with pip install bigcommerce or

BigCommerce 81 Dec 26, 2022
The Sue Gray Alert System was a 5 minute project that just beeps every time a new article is updated or published on Gov.UK's news pages.

The Sue Gray Alert System was a 5 minute project that just beeps every time a new article is updated or published on Gov.UK's news pages.

Dafydd 1 Jan 31, 2022
Source code for "Efficient Training of BERT by Progressively Stacking"

Introduction This repository is the code to reproduce the result of Efficient Training of BERT by Progressively Stacking. The code is based on Fairseq

Gong Linyuan 101 Dec 02, 2022
A Code that can make your Discord Account 24/7!

Online-Forever Make your Discord Account Online 24/7! A Code written in Python that helps you to keep your account 24/7. The main.py is the main file.

Phantom 556 Dec 29, 2022
The modern Lavalink wrapper designed for discord.py

Pomice The modern Lavalink wrapper designed for discord.py This library is heavily based off of/uses code from the following libraries: Wavelink Slate

Gstone 1 Feb 02, 2022
Unlimited Filter Telegram Bot 2

Mother NAther Bot Features Auto Filter Manuel Filter IMDB Admin Commands Broadcast Index IMDB search Inline Search Random pics ids and User info Stats

LɪᴏɴKᴇᴛᴛʏUᴅ 1 Oct 30, 2021
This repository contains the best Data Science free hand-picked resources to equip you with all the industry-driven skills and interview preparation kit.

Best Data Science Resources Hey, Data Enthusiasts out there! Finally, after lots of requests from the community I finally came up with the best free D

Mohit Kumar 415 Dec 31, 2022
Melissa Songs is a telegram bot to easily find songs sending music snippets and search tracks 💃🏽🎵

Find songs on Telegram, like on Shazam... 😎 Open on telegram · Report Bug · Request Feature ⬇️ Installation To get a local copy installed and working

Joaquim Roque 21 Nov 10, 2022
You can connect with Sanila Ranatunga using this bot😉😉

Sanila-Ranatunga-s-Assistant-Bot You can connect with Sanila Ranatunga using this bot 😉 😉 Reach me on Telegram Sanila's Assistant Bot What is Telegr

Sanila Ranatunga 5 Feb 01, 2022
A Script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag.

Channel Auto Message Post A script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag. C

16 Oct 21, 2022
A Telegram Bot to manage your music channel with some cool features.

Music Channel Manager V2 A Telegram Bot to manage your music channel with some cool features like appending your predefined username to the musics tag

11 Oct 21, 2022
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

OpenAPI Generator Master (5.3.1): 5.4.x (5.4.x): 6.0.x (6.0.x): ⭐ ⭐ ⭐ If you would like to contribute, please refer to guidelines and a list of open t

OpenAPI Tools 14.8k Jan 04, 2023
Forked from 0x36 on github who then rewrote the ida_kernelcache python framework

Forked from 0x36 on github who then rewrote the ida_kernelcache python framework. Sadly 0x36 doesn't seem to have push updates to the project and it took me a very long time to figure out why this wa

Turnerhackz1 6 Dec 13, 2022
Wechat-file-cleaner - Clean files in PC WeChat FileStorage directory

Wechat-file-cleaner - Clean files in PC WeChat FileStorage directory

Xingjian Zhang 1 Feb 06, 2022
Simple progressbar for discord

⚙️ DiscordProgressbar 📂 Установка | Installation pip install discordbar 📚 Документация | Documentation 📞 Связаться со мной | Сontact with me 📜 Ли

DenyS 26 Nov 30, 2022