Package: covfefe 1.0.0

covfefe: Political Linguistics Toolkit - Gaffes, Phonetics, and Text Transformation

A comprehensive toolkit for political linguistics featuring a museum of famous digital gaffes, phonetic transformation algorithms (Soundex, consonant shifts), QWERTY keyboard geometry for typo simulation, syllable parsing, word blending (portmanteau creation), and text corruption analysis. Originally inspired by the infamous "covfefe" tweet of 2017.

Authors:Michael Kirchner [aut, cre]

covfefe_1.0.0.tar.gz
covfefe_1.0.0.zip(r-4.7)covfefe_1.0.0.zip(r-4.6)covfefe_1.0.0.zip(r-4.5)
covfefe_1.0.0.tgz(r-4.6-any)covfefe_1.0.0.tgz(r-4.5-any)
covfefe_1.0.0.tar.gz(r-4.7-any)covfefe_1.0.0.tar.gz(r-4.6-any)
covfefe_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
covfefe/json (API)
NEWS

# Install 'covfefe' in R:
install.packages('covfefe', repos = c('https://mkirch.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mkirch/covfefe/issues

Datasets:

On CRAN:

Conda:

covfefe

4.23 score 34 stars 5 scripts 192 downloads 31 exports 4 dependencies

Last updated from:c441fc3516. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK161
source / vignettesOK170
linux-release-x86_64OK115
macos-release-arm64OK139
macos-oldrel-arm64OK165
windows-develOK91
windows-releaseOK65
windows-oldrelOK68
wasm-releaseOK94

Exports:adjacent_key_typoanalyze_gaffeblend_scoreblend_wordscorrupt_textcovfefycovfefySentencecovfefySpeechdetect_blenddetect_typo_typegarble_sentenceget_phonetic_groupis_keyboard_adjacentkeyboard_mashmuseum_by_personmuseum_by_typemuseum_by_yearmuseum_listmuseum_lookupmuseum_randomonset_nucleus_codaphonetic_distancephonetic_shiftqwerty_adjacentqwerty_distancesoundexsuggest_correctionssyllabifysyllable_countsyllable_swapvowel_shift

Dependencies:RcppSnowballCstringitokenizers

Readme and manuals

Help Manual

Help pageTopics
Generate adjacent-key typoadjacent_key_typo
Analyze a gaffe comprehensivelyanalyze_gaffe
Score how well a word is a blend of two othersblend_score
Blend two words into a portmanteaublend_words
Phonetically Similar Consonant Pairsconsonant_pairs
Corrupt text with specified error typecorrupt_text
Covfefy any word.covfefy
Covfefy any sentence.covfefySentence
Covfefy any speech.covfefySpeech
Detect possible source words for a blenddetect_blend
Detect likely typo typedetect_typo_type
Political Linguistics Museum Datagaffes
Garble a sentence with random corruptionsgarble_sentence
Get phonetic group for a consonantget_phonetic_group
Check if two keys are adjacentis_keyboard_adjacent
Simulate keyboard mash (extra characters)keyboard_mash
Filter gaffes by personmuseum_by_person
Filter gaffes by typo typemuseum_by_type
Filter gaffes by yearmuseum_by_year
List all gaffes in the museummuseum_list
Look up a specific gaffemuseum_lookup
Get a random gaffe from the museummuseum_random
Parse syllable into onset, nucleus, codaonset_nucleus_coda
Calculate phonetic distance between wordsphonetic_distance
Phonetic Consonant Groupsphonetic_groups
Shift consonant to phonetically similar consonantphonetic_shift
QWERTY Keyboard Adjacency Dataqwerty_adjacency
Get adjacent keys on QWERTY keyboardqwerty_adjacent
Calculate QWERTY distance between two keysqwerty_distance
QWERTY Keyboard Layout Dataqwerty_layout
Calculate Soundex codesoundex
Soundex Encoding Mapsoundex_map
Suggest corrections for a typosuggest_corrections
Split word into syllablessyllabify
Count syllables in a wordsyllable_count
Swap syllables between two wordssyllable_swap
Shift vowels in a wordvowel_shift
Vowel Shift Mappingsvowel_shifts