/galeras-dataset

Curated datasets extractor and API

Primary LanguageJupyter Notebook

galeras-dataset

python -m venv create venv
venv/bin/activate
python -m pip install -r requirements.txt
mkdir out1
python src/download_grammars.py
python src/main_python.py

Steps to follow

  1. Execute download_grammars.py to get the tree sitter gramar in this case for python.
  2. Tune the main python file line 11 with the project name to analyse.
  3. If you are using a different code repository you should update line 12, it is actually using GitHub.
  4. If you are using a local repository you can also set the local path insted the repository URL inthe line 12.
  5. Be sure to update line 136 for pointing to the correct folder to save the extraction results.