lanGuesser uses a Deep Learning model to identify a programming language based on code snippet.
Data has been extracted from Google BigQuery and downloaded as a CSV file for every programming language.
Model has been trained on a Jupyter Notebook in Google Colab using Tensorflow and Keras.
Languages | |||
---|---|---|---|
Python | Java | Javascript | Go |
PHP | SQL | HTML | CSS |
In mysite folder there is a Flask Web App that allows you to test the model on your local computer.
- Create a virtual environment with either
virtualenv myenv
conda create --name myenv
- Install necessary packages with either
pip install -r pip_requirements.txt
while read requirement; do conda install --yes $requirement; done < requirements.txt
- Run
python flask_app.py
- Enjoy it!