Also, download and install the spaCy's en_core_web_lg pretrained model and NLTK data. From NLTK, only punkt and averaged_perceptron_tagger are needed that can be downloaded using NLTK Downloader GUI or a Python interpreter:
Download the datasets file from here, and unzip it in the root directory of the cloned repository. You can also download these datasets from the BugLocator and BRTracer repositories. More datasets can be downloaded from the Bench4BL repository.
Check the path of datasets in buglocalizer/datasets.py module and change the value of the DATASET variable to choose different datasets (default values can be aspectj, swt, and zxing, but you can add more).
Run the main module:
python buglocalizer/main.py
All the modules are also independently runnable if it was needed to run them one by one.
请发表评论