Connect Từ is a Vietnamese word connection game that produces a meaningful phrase whose first word is the last word of the player's input. The game ends when either the player or the computer cannot find a meaningful phrase to connect.
We utilized Natural Language Processing by training a bigram language model on 20,000,000+ Vietnamese sentences reinforced by a beam search technique to generate meaningful phrases. Besides, we used the following languages and tools to develop the web app: Python, React, Flask, HTML, CSS, and JavaScript.
After cloning the project, run these lines to run the game:
For MacOS:
pip install flask
cd src/backend
export FLASK_APP=transfer.py
flask run
Open a new terminal here.
cd src/frontend
npm start
For Windows:
pip install flask
cd src\backend
export FLASK_APP=transfer.py
flask run
Open a new terminal here.
cd src\frontend
npm start
To turn off the game, hit Ctrl + C on both