Changed wordlist to be between 4 and 7 characters.

This commit is contained in:
Douglas Muth 2016-07-11 20:54:08 -04:00
parent 44324d050c
commit fbd497a0be
3 changed files with 7750 additions and 7750 deletions

View file

@ -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>

View file

@ -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;
}

File diff suppressed because it is too large Load diff