ComponentSemantics

Setup

  1. Create a virtual environment with Python version 3.8.3
  2. Run:
    pip install -r requirements.txt
    

Usage

Move to the componentSemantics module, and run the following commands.

  1. Create communities
    python community_extraction.py
    
  2. Create features
    python feature_extraction.py
    
  3. Run similarity measures
    python semantic_scores.py
    

Extra

  • Create plots as in the paper, from the scrips folder, open the paper-scatter-plot.r file, update the paths, and execute.