Suffix-Tree package had been used in thid project (with some changes).
to install dependencies:
pipenv install
to run GUI:
pipenv shell
python gui.py
to run in terminal, first edit main part in main.py, then run it.
Implemented by Mohammadreza Osouli and Alireza Kamgar.