Giter VIP home page Giter VIP logo

evannazhang / idea Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cuiyungao/idea

0.0 1.0 0.0 6.94 MB

Release code and data for the ICSE'18 paper: Online App Review Analysis for Identifying Emerging Issues. IDEA (IDentifying Emerging issues from App reviews) is a framework for detecting emerging issues from time-sensitive data.

License: MIT License

Python 85.18% C 5.65% HTML 8.46% Shell 0.72%

idea's Introduction

IDEA

Release code and data for the ICSE'18 paper: Online App Review Analysis for Identifying Emerging Issues. IDEA (IDentifying Emerging issues from App reviews) is a framework for detecting emerging issues from time-sensitive data.

The highlights of the framework lie in the online topic modeling, which considers the previous topic distributions explicitly and improves OLDA, and topic labeling, which automatically interprets each topic with the most relevant phrases and sentences. More details can be referred to the following paper:

Cuiyun Gao, Jichuan Zeng, Michael Lyu, Irwin King, and Weiwen Qiu. Online App Review Analysis for Identifying Emerging Issues. ICSE 2018.

Data Format

Input raw reviews should be saved as the following format per line. The attributes are separated by ******, and only the first five attributes are necessary. The number of attributes should be claimed in the variable InfoNum under the [Info] section. Here, InfoNum=6.

rating******review text******title******date******version******nation

Usage

  1. Download necessary nltk packages with:
$ python
>> import nlkt
>> nltk.download('averaged_perceptron_tagger')
>> nltk.download('stopwords')
  1. Notice: If this is the first time to use IDEA in your computer, you need to compile pyx and c. Also make sure _lda.c and _lda.so have been deleted before running the command. Under the src folder, run:
$ python build_pyx.py build_ext --inplace
  1. Finally, run the main program. This may take several minutes.
$ python main.py

You can modify the parameters for the inputs and outputs in the config.ini file easily.

Visualization

  1. The source code for visualization is under the folder visualization. To prepare the input for visualize, we firstrun
$ python get_input <result_folder> <K>
result_folder     the output dir of IDEA, should contain apk name, e.g., '../result/youtube/'
K     the number of topics
  1. Use localhost server to display the topic river. For Python 2, run $ python -m SimpleHTTPServer 7778, while for Python 3, run python -m http.server 7778. 7778 is the port number for viewing the visualization, e.g., for localhost, here we type localhost:7778 in the browser.

For Linux or Mac:, can simply run:

$ bash visualize.sh <result_folder> <K>

Validation

  1. Download the word2vec model trained on 4 millions app reviews from this link, and unzip the directory in the model folder.

  2. Change the value of Validate in config.ini to be 1, and run the script.

$ python main.py

Related Link

History

2018-2-4: first version of IDEA

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.