Generate my own database
Learn how to generate your own Remède database !
Last updated
Was this helpful?
Learn how to generate your own Remède database !
Last updated
Was this helpful?
Please read before.
See also .
You need to start in local, so our generation script can get definitions of Wiktionary.
Start generate.py
This operation take few days !
Generating a new database will erase the current one ! Make sure to save it before ! For example, make a copy of it; cp data/remede.db data/remede.07-06-2024.db
The database situated at data/remede.db
has been generated successfully, and you can now serve it with the API ! Congratulations !
A generation is very long ! Sometimes it crashes or freeze... The generate.py
script handle crashes (or in cas of freeze, the KeyboardInterrupt that you can trigger by pressing ctrl-c in your terminal to end the process) and saves its progression:
data/remede.db
; the database, not fully generated
data/missing-wordlist.txt
; the list of words that should have been added
To resume the generation, execute
It will automatically resume the process with the saved files