Giter Site home page Giter Site logo

iovana.github.io's Introduction

iovana.github.io

This project's purpose is to perform sentiment analysis on Reddit posts (Reddimment - Reddit sentiment). Due to a high number of comments one could find what is the general reaction of the users: positive or negative.

How to use: Run python reddiment.py in the console. Open up a browser and point it to the given IP address. On the first page there's a field where a link to a reddit post can be inserted (e.g. https://www.reddit.com/r/science/comments/4pt3ed). If the link is valid the page will direct the user to a second page which shows the top 10 most used positive vs negative words. There is also a percentage at the top which is the percentage of negative words in the top 10 most found words. The colour of the background changes according to the percentage of positive to negative words, if there's a high number of positive words the background will turn green, while if there is a high percentage of negative words the background colour will turn red.

This was developed as a project for an Advanced Python CodeFirst project. I will continue my work on the website as at the moment it lacks some of the functionality I initially intended to add such as scraping all comments of a post (at the moment it doesn't scrape the children of a comment or the hidden comments).

Note: unfortunately due to the reddit servers a link might sometimes work or the application will throw a "nonetype object is not subscriptable" error or a 429 error (even if the url is valid). If this happens just stop the python script and restart it.

iovana.github.io's People

Contributors

iovana-zz avatar shemamforash avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.