25 lines
804 B
Plaintext
25 lines
804 B
Plaintext
# diceware
|
|
|
|
This is the janky python code I used to help me generate the wordlist
|
|
I describe at [https://xeno.science/dice](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.
|
|
|
|
## Dependencies
|
|
|
|
You'll need Python 3 and NumPy.
|
|
|
|
## Usage
|
|
|
|
First, [download the English-language ConceptNet Numberbatch
|
|
dataset](https://conceptnet.s3.amazonaws.com/downloads/2019/numberbatch/numberbatch-en-19.08.txt.gz),
|
|
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.
|
|
|
|
Then, run
|
|
|
|
```bash
|
|
diceware-editor.py [word list file]
|
|
``` |