Skip to content

Instantly share code, notes, and snippets.

View cwlucas41's full-sized avatar

Christopher Lucas cwlucas41

View GitHub Profile

Keybase proof

I hereby claim:

  • I am cwlucas41 on github.
  • I am cwlucas41 (https://keybase.io/cwlucas41) on keybase.
  • I have a public key ASCEWDEfRRUxyX1c9ib90EvO_Q3nY1UNuh16pDsDkQ9pygo

To claim this, I am signing this object:

@cwlucas41
cwlucas41 / wordle-cribs.md
Last active January 15, 2022 17:25 — forked from colmmacc/wordle-cribs.md
Wordle Letter Frequency Cribs

Wordle Letter Frequency Table

If you're used to solving cryptic puzzles, or deciphering texts using crypt-analytical cribs, it can be useful to know the relative frequency of letters in the distribution of words. Wordle has a built-in list of 5-letter words. That list isn't the same as all of the five letter words in the dictionary, or even only the common ones. Perfectly common words like 'tudor' are omitted. This gist contains a few useful tables that are worth familiarizing yourself with if you want to solve wordle puzzles logically.

The raw frequency of each letter

from __future__ import division
from itertools import permutations
powers=[1, 2, 3, 4, 5]
for power_perm in list(permutations(powers)):
elec = power_perm[0]
dupl = power_perm[1]
mstr = power_perm[2]