Giter VIP home page Giter VIP logo

quora-sentiment-analysis's Introduction

Quora-Sentiment-Analysis


Based on AFINN-111 to do sentiment-analysis on Quora answers and blogposts .

Here's what i did


  • Scraped answers and blogposts from Quora and conveted them into .txt format .
  • Ignored
  1. Stopwords
  2. Non-Alpha characters [ # , % , * , ! .. ]
  3. Words which have no sentiment score defined [words , text , answer ... ]

Samples


Usage


        python3 main.py  [parameter]

        Parameters:
                pick_answer  - pick answer directly
                pick_profile - pick answers from profile
  • Install requirements
pip install -r requirements.txt

Known Issues


  • No priority assigned to words occuring multiple times in the text . ( didn't get weights to assign :/ )
  • Text format contains words[upvotes , views , Sitemap] which should be part of an answer
  • Ignored words for which scores aren't defined under AFINN-111.txt .
  • Open for PR's and Issues .

Enhancements


  • Some of the words which aren't included under AFINN-111.txt are ignored ( assigned a score of 0 ) in this case, however we can deduce score for those words . for example , if the word hit always appears in the proximity of words like sad or unhappy , then we can conclude that the word hit carries a negative sentiment . supporting paper

Note


  • The answers referenced under samples are picked up randomly .

quora-sentiment-analysis's People

Contributors

inishchith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

quora-sentiment-analysis's Issues

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.