App-Greple-wordle

 view release on metacpan or  search on metacpan

CLAUDE.md  view on Meta::CPAN


## Updating NYT Wordle Data

### Data Sources

1. **NYT Official Answers** (chronological list): https://wordfinder.yourdictionary.com/wordle/answers/
   - Contains all official Wordle answers from June 19, 2021 (CIGAR) to present
   - Updated daily with the latest answer

2. **Valid Word List**: https://github.com/alex1770/wordle
   - `wordlist_all` - Complete set of allowable guesses (~14,855 words)
   - `wordlist_hidden` - Extended answer list (~3,158 words)

### Extracting Latest NYT Answers

```bash
# Download the WordFinder page
curl -s "https://wordfinder.yourdictionary.com/wordle/answers/" > /tmp/wordle_page.html

# Extract all answers using Perl
cat > /tmp/extract_answers.pl << 'EOF'

CLAUDE.md  view on Meta::CPAN


# Verify
wc -l /tmp/wordlist_all.txt  # Should be ~14,855 words
```

### Updating Word List Files

The repository contains two sets of word lists:

- **word_nyt_hidden.pm**: NYT official answers (chronological, cigar → present)
- **word_nyt_all.pm**: All valid guessable words

Update these files with the extracted data:

```bash
# Update word_nyt_hidden.pm
cat > lib/App/Greple/wordle/word_nyt_hidden.pm << 'EOF'
package App::Greple::wordle::word_nyt_hidden;

use v5.14;
use warnings;

CLAUDE.md  view on Meta::CPAN

__DATA__
EOF
cat /tmp/wordlist_all.txt >> lib/App/Greple/wordle/word_nyt_all.pm
```

### Important Notes

- The NYT answer list is in **chronological order** (oldest first), matching the original word_hidden.pm format
- Today's puzzle number = days since June 19, 2021 (puzzle #0 = "cigar")
- WordFinder.com updates daily, so this process can be repeated to get the latest data
- The answer list contains fewer words than the valid word list because many valid guesses are never used as answers

lib/App/Greple/wordle/NYT.pm  view on Meta::CPAN

gouts gouty goved goves gowan gowds gowfs gowks gowls gowns goxes goyim goyle 
graal grabs grace grade grads graff graft grail grain graip grama grame gramp 
grams grana grand grano grans grant grape graph grapy grasp grass grata grate 
grats grave gravs gravy grays graze great grebe grebo grece greed greek green 
grees greet grege grego grein grens greps grese greve grews greys grice gride 
grids grief griff grift grigs grike grill grime grimy grind grins griot gripe 
grips gript gripy grise grist grisy grith grits grize groan groat grody grogs 
groin groks groma groms grone groof groom grope gross grosz grots grouf group 
grout grove grovy growl grown grows grrls grrrl grubs grued gruel grues grufe 
gruff grume grump grund grunt gryce gryde gryke grype grypt guaco guana guano 
guans guard guars guava gubba gucks gucky gudes guess guest guffs gugas guggl 
guide guido guids guild guile guilt guimp guiro guise gulab gulag gular gulas 
gulch gules gulet gulfs gulfy gulls gully gulph gulps gulpy gumbo gumma gummi 
gummy gumps gunas gundi gundy gunge gungy gunks gunky gunny guppy guqin gurdy 
gurge gurks gurls gurly gurns gurry gursh gurus gushy gusla gusle gusli gussy 
gusto gusts gusty gutsy gutta gutty guyed guyle guyot guyse gwine gyals gyans 
gybed gybes gyeld gymps gynae gynie gynny gynos gyoza gypes gypos gyppo gyppy 
gypsy gyral gyred gyres gyron gyros gyrus gytes gyved gyver gyves haafs haars 
haats habit hable habus hacek hacks hacky hadal haded hades hadji hadst haems 
haere haets haffs hafiz hafta hafts haggs haham hahas haick haika haiks haiku 
hails haily hains haint hairs hairy haith hajes hajis hajji hakam hakas hakea 

lib/App/Greple/wordle/ORIGINAL.pm  view on Meta::CPAN

forgo forte forth forty forum found foyer frail frame frank fraud freak freed 
freer fresh friar fried frill frisk fritz frock frond front frost froth frown 
froze fruit fudge fugue fully fungi funky funny furor furry fussy fuzzy gaffe 
gaily gamer gamma gamut gassy gaudy gauge gaunt gauze gavel gawky gayer gayly 
gazer gecko geeky geese genie genre ghost ghoul giant giddy gipsy girly girth 
given giver glade gland glare glass glaze gleam glean glide glint gloat globe 
gloom glory gloss glove glyph gnash gnome godly going golem golly gonad goner 
goody gooey goofy goose gorge gouge gourd grace grade graft grail grain grand 
grant grape graph grasp grass grate grave gravy graze great greed green greet 
grief grill grime grimy grind gripe groan groin groom grope gross group grout 
grove growl grown gruel gruff grunt guard guava guess guest guide guild guile 
guilt guise gulch gully gumbo gummy guppy gusto gusty gypsy habit hairy halve 
handy happy hardy harem harpy harry harsh haste hasty hatch hater haunt haute 
haven havoc hazel heady heard heart heath heave heavy hedge hefty heist helix 
hello hence heron hilly hinge hippo hippy hitch hoard hobby hoist holly homer 
honey honor horde horny horse hotel hotly hound house hovel hover howdy human 
humid humor humph humus hunch hunky hurry husky hussy hutch hydro hyena hymen 
hyper icily icing ideal idiom idiot idler idyll igloo iliac image imbue impel 
imply inane inbox incur index inept inert infer ingot inlay inlet inner input 
inter intro ionic irate irony islet issue itchy ivory jaunt jazzy jelly jerky 
jetty jewel jiffy joint joist joker jolly joust judge juice juicy jumbo jumpy 

lib/App/Greple/wordle/ORIGINAL.pm  view on Meta::CPAN

resin whole hunch pixel polar hotel sword cleat mango rumba puffy filly billy 
leash clout dance ovate facet chili paint liner curio salty audio snake fable 
cloak navel spurt pesto balmy flash unwed early churn weedy stump lease witty 
wimpy spoof saner blend salsa thick warty manic blare squib spoon probe crepe 
knack force debut order haste teeth agent widen icily slice ingot clash juror 
blood abode throw unity pivot slept troop spare sewer parse morph cacti tacky 
spool demon moody annex begin fuzzy patch water lumpy admin omega limit tabby 
macho aisle skiff basis plank verge botch crawl lousy slain cubic raise wrack 
guide foist cameo under actor revue fraud harpy scoop climb refer olden clerk 
debar tally ethic cairn tulle ghoul hilly crude apart scale older plain sperm 
briny abbot rerun quest crisp bound befit drawn suite itchy cheer bagel guess 
broad axiom chard caput leant harsh curse proud swing opine taste lupus gumbo 
miner green chasm lipid topic armor brush crane mural abled habit bossy maker 
dusky dizzy lithe brook jazzy fifty sense giant surly legal fatal flunk began 
prune small slant scoff torus ninny covey viper taken moral vogue owing token 
entry booth voter chide elfin ebony neigh minim melon kneed decoy voila ankle 
arrow mushy tribe cease eager birth graph odder terra weird tried clack color 
rough weigh uncut ladle strip craft minus dicey titan lucid vicar dress ditch 
gypsy pasta taffy flame swoop aloof sight broke teary chart sixty wordy sheer 
leper nosey bulge savor clamp funky foamy toxic brand plumb dingy butte drill 
tripe bicep tenor krill worse drama hyena think ratio cobra basil scrum bused 

lib/App/Greple/wordle/word_all.pm  view on Meta::CPAN

group
grout
grove
growl
grown
gruel
gruff
grunt
guard
guava
guess
guest
guide
guild
guile
guilt
guise
gulch
gully
gumbo
gummy

lib/App/Greple/wordle/word_hidden.pm  view on Meta::CPAN

rerun
quest
crisp
bound
befit
drawn
suite
itchy
cheer
bagel
guess
broad
axiom
chard
caput
leant
harsh
curse
proud
swing
opine



( run in 1.841 second using v1.01-cache-2.11-cpan-75ffa21a3d4 )