Skip to content
This repository was archived by the owner on Dec 17, 2023. It is now read-only.

Destiny-02/P4P

Repository files navigation

Introduction

This repository contains a number of tools which were used in Project #42, "Evaluating Identifier Meaningfulness".

Authors: Destiny Li, Kyle Hensel

Supervised by: Prof. Ewan Tempero

Setup

  • Install python 3.10
  • Install NodeJS v18 or newer
  • run python --version to confirm that the python version in PATH is v3
  • run python -m pip install --user pipenv to install the package manager
  • run pipenv install to install the dependencies listed in Pipfile
  • run npm run downloadDictionaries to download some required JSON files

Run The Tools

Instructions for running the tools are in the README.md of the respective folder.

The ugrad-009-01 domain and 20 implementations of ugrad-009-01 is included as part of this repository.

The tools are located in:

Run The Tests

pip install pytest # if not already installed
pytest

Other folders

  • data/: Contains the codebases. Each folder nested in data/ is a domain. Each folder nested in a domain folder is a codebase.
  • data/downloaded: Contains JSON and CSV files that are downloaded when the repository is set up.
  • src/vocabularies/: Contains the vocabulary files. Each folder nested in src/vocabularies/ is a domain. Each file nested in a domain folder is a vocabulary file (context.txt, design.txt or neither.txt).
  • src/helper: Contains helper functions and scripts used by multiple tools.

Acknowledgements

American to British English Dictionary

Wikipedia Word Frequency Data

Identifier Term Frequency Data

Common Code Abbreviations

More Code Abbreviations

Porter2 Stemmer

NLTK

JavaParser

About

Project #42: "Evaluating Identifier Meaningfulness"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •