||3 years ago|
|LICENSE||3 years ago|
|README.md||3 years ago|
|diceware-editor.py||3 years ago|
|pickle-vectors.py||3 years ago|
This is the janky python code I used to help me generate the wordlist I describe at https://xeno.science/dice. This code is very bad and will probably crash if your terminal window is too small. Also I'm doing something wrong with ncurses, and after it loads it'll show you a blank screen until you press a key.
You'll need Python 3 and NumPy.
First, download the English-language ConceptNet Numberbatch
and then run
pickle-vectors.py to parse the Numberbatch vectors and
store them in a pickle for later access. This takes a while but
you'll only need to do it once.
diceware-editor.py [word list file]