mirror of
https://github.com/dmuth/diceware.git
synced 2024-12-22 10:23:42 +00:00
Changed wordlist to be between 4 and 7 characters.
This commit is contained in:
parent
44324d050c
commit
fbd497a0be
3 changed files with 7750 additions and 7750 deletions
|
@ -225,7 +225,7 @@ I used to use <a href="http://world.std.com/~reinhold/diceware.wordlist.asc">the
|
|||
but it contained a lot of symbols, punctuation, numbers, and 2 and 3 letter words. I wanted to try a different
|
||||
wordlist with longer words, no non-alphabetic characters, and words more commonly used. So I got
|
||||
<a href="http://norvig.com/ngrams/">Peter Norvig's</a> list of <a href="http://norvig.com/ngrams/count_1w.txt"
|
||||
>the 1/3rd million most frequently used words</a> and selected the 7,776 most common words between 5 and 8
|
||||
>the 1/3rd million most frequently used words</a> and selected the 7,776 most common words between 4 and 7
|
||||
characters in length.
|
||||
</p>
|
||||
|
||||
|
|
|
@ -88,9 +88,9 @@ function readWordListPeterNorvig($filename) {
|
|||
$len = strlen($word);
|
||||
|
||||
//
|
||||
// Keep all words between 5 and 8 characters
|
||||
// Keep all words between 4 and 7 characters
|
||||
//
|
||||
if ($len < 5 || $len > 8) {
|
||||
if ($len < 4 || $len > 7) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
15494
wordlist/wordlist.js
15494
wordlist/wordlist.js
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue