-
Python script that can generate word clouds from code. Implemented languages are:
-
Java
-
Kotlin
-
C#
-
TS/JS
-
Make sure an appropriate python version is installed. If you have pyenv installed, you can call:
-
pyenv local(will install the version from .python-version)
-
Create a virtual environment by running
python3 -m venv venvin the project directory. -
Activate the virtual environment:
-
On macOS and Linux, run
source venv/bin/activate. -
On macOS with fish shell, run
source venv/bin/activate.fish. -
On Windows, run
venv\Scripts\activate.bat.
-
-
Run the code with
./main.py samples/renting-java java all-
Note that "all" seems to be the best option for now.
-
Drill-downs with "behavior" or "type" seem to work way better in Java than in other languages.
-
-
Run tests with
python -m unittest discover.
-
pyenvmanages multiple versions of Python itself. -
virtualenv/venvmanages virtual environments for a specific Python version.
-
pip install wordcloud -
pip install pygments -
pip install progressbar2 -
pip install yaspin -
pip freeze > requirements.txt
-
Word Cloud Computing did almost all the heavy lifting