Learn R Programming

covfefe

Despite the constant negative press covfefe

An R package for linguistic analysis of typos, providing the ability to transform any word, sentence or speech into the "covfefe" format and analyze famous digital gaffes.

Installation:

covfefe is now on CRAN! To install the R package, simply:

install.packages("covfefe")

Words

This function takes a word and performs the following algorithm, as suggested here:

  1. Include all characters up through the first vowel in the word: co
  2. Identifies the next consonant after the first vowel in the word: v
  3. Changes that consonant to a phonetically similar consonant: f
  4. Finds the next vowel after that consonant: e
  5. Combines the two, and repeats: fefe
  6. Puts it all together: covfefe
> covfefy("coverage")
"covfefe"
> covfefy("president")
"preszizi"
> covfefy("programming")
"progkaka"
> covfefy("tropical")
"tropbibi"

Sentences

> covfefySentence("Despite the constant negative press coverage, we are going to Make America Great Again")
[1] "Despite the constant negative press covfefe"

Speeches

Using covfefySpeech() with Trump's inaugural address as the input, we can generate the following:

Chief Justice Robpepe.

WeWee.

Togkeke.

We will face challenges. We will confront hardships. But we will get the job done.

Every four yearrara. They have been magnificent.

Today’s cerrere. Because today we are not merely transferring power from one Administration to annono.

For too lonnono.

Washington flourished – but the people did not share innini.

Politicians prospered – but the jobs lefveve.

The establishment protected itdede.

Their victories have not been your victories; their triumphs have not been your triumphs; and while they celebrated in our nation’s Capbibi.

That all changes – starting right herrere.

It belongs to everyone gathered here today and everyone watdidi.

This is your day. This is your celebration.

And thiszizi.

What truly matters is not which party controls our govfefe.

January 20th 20177.

The forgotten men and women of our country will bebpepe.

Everyone is listening to you now.

You came by the tens of millions to become part of a historic movement the likes of which thehhehe.

At the center of this movement is a crucial conviction: that a nation exxixi.

Americans want great schools for their chillele.

These are the just and reasonable demands of a.

But for too many of our citdidi.

This American carnage stops right here and stopbobo.

We are one nation – and their pain iszizi. Their dreams are our dreams; and their success will bebpepe. We share one hearrara.

The oath of office I take today is an oath of allele.

For many decgagaindustry;

Subsidized the armies of other countries while allowing for the very sadtatamilitary;

We've defended other nation’s borders while refusing totdodoown;

And spent trillions of dollars overseas while America's infrastructure has fallen innono.

We’ve made other countries rich while the weallala.

One by onnene.

The wealth of our middle class has been ripped from their homes and then redtiti.

But that is the past. And now we are looking only to thehhehe.

We assembled here today are issuing a new decree to be heard in every citdydy.

From this day forrara.

From this moment onnono.

Every decision on tradtete.

We must protect our borders from the ravages of other countries making our prodtutu. Protection will lead to great prosperity and strength.

I will fight for you with every breath in my body – and I will nevfefe.

America will start winning agkaka.

We will bring back our jobs. We will bring back our borders. We will bring back our wealth. And we will bring back our dreams.

We will build new roadtata.

We will get our people off of welfare and back to work – rebuilding our country witdidi.

We will follow two simple rules: Buy American annana.

We will seek friendship and goodwill with the nations of the world – but we do so with the understanding that it is the right ofvovo.

We do not seek to impose our way of life on annyny.

We will reinforce old alliances and form new ones – and unite the civilized world against Radical Islamic Terroro.

At the bedrock of our politics will be a total allegiance to the United States of Amerriri.

When you open your heart to patdidi.

The Bible tells uszuzu”

We must speak our minds opbebe.

When America is unnini.

There should be no fear – we are protdede.

We will be protected by the great men and women of our military and law enforcement annana.

Finnana.

In Amerriri.

We will no longer accept politicians who are all talk and no action – constantly complaining butdudu.

The time for empty talk is over.

Now arrives the hour of action.

Do not let anyone tell you it cannono. No challenge can match the heart and fight and spirriri.

We will not fail. Our country will thrive and prosper again.

We stand at the birth of a new millele.

A new national pride will stir our soullulu.

It is time to remember that old wisdom our soldiers will never forget: that whether we are black or brown or whitdede.

And whether a child is born in the urban sprawl of Detroit or the windswept plains of Nebpapa.

So to all Amerririwords:

You will never be ignored again.

Your voicgege. And your courage and goodness and love will forever guide uszuzu.

Togkeke.

We Will Make America Wealthy Again.

We Will Make America Proud Again.

We Will Make America Safe Again.

Anddtt. Thank you.

Copy Link

Version

Install

install.packages('covfefe')

Monthly Downloads

240

Version

1.0.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Michael Kirchner

Last Published

January 26th, 2026

Functions in covfefe (1.0.0)

phonetic_groups

Phonetic Consonant Groups
is_keyboard_adjacent

Check if two keys are adjacent
keyboard_mash

Simulate keyboard mash (extra characters)
onset_nucleus_coda

Parse syllable into onset, nucleus, coda
qwerty_adjacency

QWERTY Keyboard Adjacency Data
detect_typo_type

Detect likely typo type
vowel_shifts

Vowel Shift Mappings
museum_random

Get a random gaffe from the museum
qwerty_adjacent

Get adjacent keys on QWERTY keyboard
vowel_shift

Shift vowels in a word
museum_lookup

Look up a specific gaffe
gaffes

Political Linguistics Museum Data
soundex

Calculate Soundex code
qwerty_layout

QWERTY Keyboard Layout Data
syllable_swap

Swap syllables between two words
qwerty_distance

Calculate QWERTY distance between two keys
syllable_count

Count syllables in a word
soundex_map

Soundex Encoding Map
phonetic_shift

Shift consonant to phonetically similar consonant
syllabify

Split word into syllables
suggest_corrections

Suggest corrections for a typo
phonetic_distance

Calculate phonetic distance between words
adjacent_key_typo

Generate adjacent-key typo
covfefySpeech

Covfefy any speech.
consonant_pairs

Phonetically Similar Consonant Pairs
blend_score

Score how well a word is a blend of two others
detect_blend

Detect possible source words for a blend
blend_words

Blend two words into a portmanteau
analyze_gaffe

Analyze a gaffe comprehensively
covfefySentence

Covfefy any sentence.
get_phonetic_group

Get phonetic group for a consonant
covfefy

Covfefy any word.
garble_sentence

Garble a sentence with random corruptions
museum_by_type

Filter gaffes by typo type
museum_by_person

Filter gaffes by person
corrupt_text

Corrupt text with specified error type
museum_list

List all gaffes in the museum
museum_by_year

Filter gaffes by year