-
Install Python 3.6+ and required dependencies:
pip install xmltodict javalang pygments inflection nltk numpy scipy scikit-learn spacyAlso, download and install the GloVe word vectors
en_vectors_web_lgfor spaCy and NLTK data. -
Clone this repository:
git clone https://github.com/h4iku/bug-localization.gitDownload the datasets file from here, and unzip it in the root directory of the cloned repository.
-
Check the path of datasets in the
datasets.pymodule and change the value of theDATASETvariable to choose different datasets (values can beaspectj,swt, andzxing). Run the main module:python main.pyAll the modules are also independently runnable if it was needed to run them one by one.
Repository navigation
forked from h4iku/bug-localization
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|