Initial commit
This commit is contained in:
		
						commit
						167d208685
					
				
					 4 changed files with 275 additions and 0 deletions
				
			
		
							
								
								
									
										25
									
								
								README
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								README
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,25 @@ | |||
| # 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] | ||||
| ``` | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue