This is a Python game where the player has to say a word containing a specific snippet shown on the screen.
-
Python 3
-
Vosk
-
Sounddevice
-
NLTK
-
Clone the repository.
-
Install dependencies:
pip install vosk sounddevice nltk
- Download the NLTK 'words' corpus by running a Python script with:
import nltk; nltk.download('words')
- Download a Vosk model (e.g.,
vosk-model-small-en-us-0.15) and place it in the project folder.
python game.py