Skip to content

Instantly share code, notes, and snippets.

@roycewilliams
Created May 31, 2017 05:49
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roycewilliams/9844489e552783c26e7ff76fbaac2523 to your computer and use it in GitHub Desktop.
Save roycewilliams/9844489e552783c26e7ff76fbaac2523 to your computer and use it in GitHub Desktop.
covfefe-typos.txt
codgers
coffees
coffers
covered
coverts
differs
digests
diggers
diverge
diverts
divests
dodders
dodgers
fibbers
fidgets
fodders
sifters
sobered
soberer
@roycewilliams
Copy link
Author

roycewilliams commented May 31, 2017

Despite the constant negative press covfefe ->
Despite the constant negative press codgers [points for most entertaining]
Despite the constant negative press coffees
Despite the constant negative press coffers
Despite the constant negative press covered [most likely; probably intended "coverage"]
Despite the constant negative press coverts
Despite the constant negative press differs
Despite the constant negative press digests
Despite the constant negative press diggers
Despite the constant negative press diverge
Despite the constant negative press diverts
Despite the constant negative press divests
Despite the constant negative press dodders
Despite the constant negative press dodgers
Despite the constant negative press fibbers
Despite the constant negative press fidgets
Despite the constant negative press fodders
Despite the constant negative press sifters
Despite the constant negative press sobered
Despite the constant negative press soberer

@roycewilliams
Copy link
Author

roycewilliams commented May 31, 2017

The hokey code used to generate all permutations (which I then diff'd against a lower-cased version of /usr/share/dict/words). It's literally just a naive list of all keys directly bordering the letters in "covfefe" on a QWERTY keyboard.

#!/bin/bash

# Created: 2017-05-30

for L1 in x s d f v c; do
    for L2 in i k l o p; do
        for L3 in v c d f g b; do
            for L4 in e r t g f d c v b; do
                for L5 in w s d f r e; do
                    for L6 in e r t g f d c v b; do
                        for L7 in w s d f r e; do
                            echo $L1$L2$L3$L4$L5$L6$L7; 
                        done
                    done
                done
            done
        done
    done
done

@blundell
Copy link

blundell commented May 31, 2017

conference or coverage is not there. (you need to take into account that autocorrect can change the number of letters)

Despite the constant negative press conferences
Despite the constant negative press coverage

@roycewilliams
Copy link
Author

roycewilliams commented May 31, 2017

This is a list of the candidates that would be the intermediate step. Autocorrect wouldn't map a typed sequence to a misspelling unless it was already stored as an approved word. Instead, he appears to have accepted a word as typed. If he'd mistyped "coverage", it wouldn't directly map to "covfefe". He might have intended "coverage", but he typed near "covered".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment