The below two projects are required to run FeatCompare. Git clone the entire repo into your local directory and install the required packages
- Please visit (https://github.com/madrugado/Attention-Based-Aspect-Extraction) to clone and run ABAE
- Please visit (https://github.com/jinyyy666/AR_Miner) to clone and run AR-Miner
- data folder contains the sample data of user reviews
- scripts folder contains the python script "local_global_selector" used to select the local global reviews.
- Each file in "app_groups" folder contains the labelled reviews of the groups used in our experiments. The labels are the final ones agreed upon among the annotators.
For the Local and Global cycles of ABAE, the input data used for training is the same (i.e, user reviews of every group). The embedding used is different in the Local and Global cycles
- Run AR-Miner to filter out non informative reviews
- Run the Global cycle of ABAE
- Run the Local cycle of ABAE
- Run the "local_global_selector" script to assign local or global labels to reviews
- Preprocess and generate the word embedding "local embedding" of the reviews of the specific app groups
- Use the "local embedding" as input (i.e, --emb-name) to run the train command
- Use the user reviews of the specific app group as the data input
- Preprocess and generate the word embedding "global embedding" of all the reviews of all the apps groups
- Use the "global embedding" as input (i.e, --emb-name) to run the train command
- Use the user reviews of the specific app group as the data input