Bot Discord révolutionnaire qui complète vos mots.
Find a file
2025-01-30 19:23:03 +04:00
autofeur_db secure the api calling for the phonemizer service 2025-01-30 19:23:03 +04:00
deep_phonemizer update 2024-06-05 21:17:18 +04:00
discordjs fix wrong sanitization 2025-01-30 19:03:29 +04:00
.gitignore update 2024-06-05 21:17:18 +04:00
docker-compose.yaml use gpu in deep phonemizer 2025-01-29 13:35:05 +04:00
LICENCE change licence and add a 30% probability 2023-01-22 14:08:20 +04:00
README.md remove the nova-related instructions for running Gru (previously AutoFeur) 2024-11-14 00:09:17 +04:00

Gru

DEPRECATED: https://git.puffer.fish/?p=matthieu/gru.git;a=summary

gru@puffer.fish FOR PATCHES

Structure

Autofeur is composed of a few components that make up this bot

Name Description
autofeur_nova This is the component for handling discord events, it uses the nova framework under the hood and is developped with TypeScript
deep_phonemizer This is the component that transforms a grapheme into a phoneme using DeepPhonemizer
autofeur_db This is the component used for completing te end of the words, its a DB specialized into completing this specific task

Running Autofeur

Getting trained models

You'll need two files to get running with Autofeur, a trained DeepPhonemizer model and a IPA Dictionary file.

You can get the DeepPhonemizer model on the project github page or follow the instructions there to create your own datasets.

You can get the IPA Dictionary on this github page or use your own, it's simply a CSV file with two columns, one for the word and another for the phonemized word.

Starting deep_phonemizer

To run it inside docker, we recommand docker-compose up deep-phonemizer If you want to use bare metal, follow the following commands You'll need to move your trained model into the deep_phonemizer/assets/model.pt file.

# Go into the folder
cd deep_phonemizer
# Create a Virtual environment with dependencies
python3 -m venv ./venv
source ./venv/bin/activate
pip install -r requirements.txt

# Run the flash application
flask run