Giter VIP home page Giter VIP logo

sira's Introduction

SIRA: a Semantic-aware, fIne-grained app Review Analysis approach

Dataset and replication package for the paper Where is Your App Frustrating Users? (ICSE 2022).

Requirements

  • Python 3.6
  • Main libraries: requirements.txt
  • Pre-trained BERT
    • Path: pytorch_version/prev_trained_model/

Data

Data Directory

The directory dataset is for the convenience of viewing the data, which contains labeled data and unlabeled data, respectively.
The data directory when running our code: pytorch_version/CLUEdatasets/cluener/

Data Field Format

app: App name
text: Review sentence
senti: Sentence sentiment (negative: [-5, -1], positive: [1, 5])
label: The problematic feature phrase, the beginning position and the ending position

Usage

Problematic Feature Extraction

run_ner_crf.sh

You can change the configures in run_ner_crf.sh, including the learning_rate, per_gpu_train_batch_size, per_gpu_eval_batch_size, num_train_epochs, etc. The other important parameters are

overwrite_output_dir -- whether overwrite the output directory
do_train -- whether train the model
do_eval -- whether evluate the model
do_predict -- whether predict the results of new data

Problematic Feature Clustering

This should be run after obtaining the results of Problematic Feature Extraction. Need revision based on the format of your output data, and assign your data to the variable domain_docs.

preprocess/clustering.py

Output Directory

pytorch_version/outputs/cluener_output/bert/

Visualization

Tool Link

sira's People

Contributors

chinenyeokafor 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.