Git Product home page Git Product logo

rvwanalyzr's Introduction

CS 410 Text Information Systems Final Project

  • Presentation at https://youtu.be/f6ts17IcFsk
  • Teammates:
      1. Jong Park
        NetID: jonghp2
      1. Han-Tse Chiou
        NetID: htchiou2
      1. Mohammed Zayeem Allahbaksh
        NetID: mza3

rvwanalyzr

Rvwanalyzr analyzes appstore product reviews to provide insights regarding the review sentiments and the topic keywords related. The result is useful for figuring out the key features or topics that are correlated to the users sentiments.

  • The tool builds out 3 differnt models with the review data.

    • VADER - Valence based sentiment analysis from nltk. VADER's sentiment score in fine grained scale and the ability to evaluate social media expression are powerful features for the tool.
    • Naive Bayes classifier - this classic model's output is not used directly but kept for the future usage.
    • LDA topic modeler - The resulting top ranked topics are correlated with the sentiment.

Components

Downloading data to analyze

  • app-store-scripts/fetch-reviews.js downloads reviews under each data/apps/[app id] folder. Under each [app id] folder, there will be 10 files which is the max number of pages that app store API allows after executing the download script as below.

    • To collect app store reviews Add a folder named matching the app id under app-store-scripts/data/apps folder and run
    $ cd app-store-scripts
    $ npm install app-store-scraper
    $ node fetch-reviews.js
    

Building the models

Model builder runs review data through VADER sentiment analyzer, Naive Bayes classifier and LDA topic modeler. It creates csv files containing the results for each in the output folder of the working directory.

  • Add Module Dependencies via pip
    pip install --upgrade gensim seaborn nltk
    
  • To build model with the data downloaded by fetch-reviews.js at the default location, app-store-scripts/data/apps/
    $ python review_analyzer/sent_model_builder.py
    
  • To build model with the data stored at specific folder
    $ python review_analyzer/sent_model_builder.py <path to the folder containing folders named [app id]>
    

Model output analysis

Model output is analyzed to discover a particular set of topic keywords related to a sentiment. Sentiment score of all reviews with the same dominant topic is collected to produce the average sentiment. The resulting average sentiment score and the dominant topics are plotted to show the degree of topic's sentiment. The implementation uses Jupyter Notebook. VADER's compound sentiment score and top 10 dominant topics are used to plot the graph such as the following.

  • To load and run the script in Jupyter Notebook
    $ cd review_analyzer
    $ jupyter notebook
    
    When the Jupyter Notebook tab on the browser shows up, select 'rvwanalyzr.ipynb'.

Future items

  • Time Series based graph showing the sentiment trend per product version or patch updates. This is useful for the marketing and future strategy of the app.

  • Support for Non-English reviews

Run the presentation locally

The presentation slides are produced with a presentation builder tool amazingandyyy/markdeck. To run it locally,

  • Install and use the Node 10 library

    $ nvm install node10
    $ nvm use 10
    
  • Install the library

    $ npm i -g @amazingandyyy/markdeck
    
  • The presentation.md markdown is under decks/ folder.

  • Present it directly

    $ deck --assets images
    ...
    # alive on http://localhost:1234/deck/presentation/
    
  • Or Generate Static HTML and present from docs/deck/presentation/index.html

    $ deck export --assets images
    ...
    # created docs/deck/presentation/index.html
    

Built With

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.