mirror of
https://github.com/dmuth/diceware.git
synced 2024-12-22 16:23:42 +00:00
Fixed Peter Norvig's last name!
This commit is contained in:
parent
262076b9ef
commit
7795bfc1db
1 changed files with 3 additions and 3 deletions
|
@ -71,7 +71,7 @@ function readWordListGoogle($filename) {
|
|||
* @return array An array of words
|
||||
*
|
||||
*/
|
||||
function readWordListPeterNovig($filename) {
|
||||
function readWordListPeterNorvig($filename) {
|
||||
|
||||
$retval = array();
|
||||
|
||||
|
@ -113,7 +113,7 @@ function readWordListPeterNovig($filename) {
|
|||
|
||||
return($retval);
|
||||
|
||||
} // End of readWordListPeterNovig()
|
||||
} // End of readWordListPeterNorvig()
|
||||
|
||||
|
||||
/**
|
||||
|
@ -201,7 +201,7 @@ function main() {
|
|||
//$filename = "google-10000-english.txt";
|
||||
//$words = readWordListGoogle($filename);
|
||||
$filename = "count_1w.txt";
|
||||
$words = readWordListPeterNovig($filename);
|
||||
$words = readWordListPeterNorvig($filename);
|
||||
|
||||
//
|
||||
// Match words to dicerolls
|
||||
|
|
Loading…
Reference in a new issue