From c73b7eb99c8c787e529a83f376e51d88c0ced110 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sat, 11 Mar 2023 14:57:00 -0500 Subject: [PATCH] Update wordlist --- wordlist/03-exclude.csv | 23 +++++++++++++++++++++++ words/src/lib.rs | 18 +++++++++--------- 2 files changed, 32 insertions(+), 9 deletions(-) diff --git a/wordlist/03-exclude.csv b/wordlist/03-exclude.csv index 03421d2..0f19b80 100644 --- a/wordlist/03-exclude.csv +++ b/wordlist/03-exclude.csv @@ -383,6 +383,7 @@ BLEED BLEEDING BLEST BLEW +BLOODY BLOWING BLUE BLUNT @@ -488,6 +489,7 @@ BUREAU BURGER BURGESS BURGUNDY +BURIAL BURKE BURLINGTON BURMA @@ -855,6 +857,7 @@ DBA DC DE DEACON +DEALER DEAN DEARBORN DEATH @@ -909,6 +912,7 @@ DIEGO DILL DIN DIOCESAN +DIP DIRECTIVE DIRECTORATE DISADVANTAGE @@ -1113,6 +1117,7 @@ EXECUTOR EXETER EXODUS EXPEDITIONARY +EXPLOITATION EXPLORER EYRE EZRA @@ -1318,6 +1323,7 @@ GORGE GOSPEL GOTHIC GOUGE +GRAFT GRAHAM GRAN GRANADA @@ -1326,6 +1332,7 @@ GRANDPA GRANGE GRANGER GRANNY +GRAPHIC GRATING GRECIAN GRECO @@ -1395,12 +1402,14 @@ HARPER HARRIET HARRIS HARROW +HARSH HART HARTFORD HARTLEY HARVARD HARVESTER HARVEY +HAUNT HAVANA HAVEN HAVRE @@ -1551,6 +1560,7 @@ ILLEGITIMATE ILLINOIS IMAM IMF +IMMIGRATION IMMORTALITY IMMUNODEFICIENCY IMMUNOLOGY @@ -1569,6 +1579,7 @@ INDUS INFECT INFERIORITY INFIRMARY +INFLAMMATION INFO INIQUITY INN @@ -1873,6 +1884,7 @@ LINGUISTICS LINN LINNAEUS LIONEL +LIQUOR LISA LISBON LISTER @@ -1890,6 +1902,7 @@ LODGE LOESS LOMBARD LONDON +LONELY LONGFELLOW LONGMAN LOO @@ -2267,6 +2280,7 @@ NOVA NT NTH NUREMBERG +NUT NY OAKLAND OB @@ -2359,6 +2373,7 @@ PANTHER PAP PAPA PAPUA +PARA PARADISE PARAGUAY PARALYSIS @@ -2367,6 +2382,8 @@ PARISIAN PARKER PARKWAY PARLIAMENT +PARLIMENT +PARLIMENTARY PARMA PARR PARRY @@ -2485,6 +2502,7 @@ POLLUTE POLLY POLO POLYTECHNIC +POORLY POPE PORTAGE PORTE @@ -2843,6 +2861,7 @@ SHIN SHIT SHOEMAKER SHOTGUN +SHOWER SHREWSBURY SHROPSHIRE SI @@ -2851,6 +2870,7 @@ SIBERIAN SIC SICILIAN SICILY +SICKNESS SIDNEY SIEGFRIED SIEMENS @@ -3082,10 +3102,12 @@ TOULOUSE TOXICOLOGY TRAMPLE TRANSVAAL +TRAUMA TREACHEROUS TREASON TRENT TRENTON +TRIBAL TRIBUNE TRIESTE TRINIDAD @@ -3260,6 +3282,7 @@ WHEELING WHENCE WHEREFORE WHIG +WHIP WHISKEY WHISKY WHISTLER diff --git a/words/src/lib.rs b/words/src/lib.rs index f237473..984e783 100644 --- a/words/src/lib.rs +++ b/words/src/lib.rs @@ -60,10 +60,10 @@ mod tests { #[test] fn test_length() { - assert!(WORDS.len() >= 8195); - assert!(NUMBER_TO_WORDS.len() >= 8195); + assert!(WORDS.len() >= 4096 + 2); + assert!(NUMBER_TO_WORDS.len() >= 4096 + 2); - for i in 0..8195_u16 { + for i in 0..4096 + 2_u16 { assert_eq!(NUMBER_TO_WORDS[i as usize][0].number, i); } } @@ -86,14 +86,14 @@ mod tests { } // Homonyms - te!(blue, blew); + // te!(blue, blew); te!(yellow, hello); - te!(days, daze); - te!(day, days); + // te!(days, daze); + // te!(day, days); // Plurals - te!(sent, sense); - te!(sent, scents); - te!(sent, cents); + // te!(sent, sense); + // te!(sent, scents); + // te!(sent, cents); } }