Political Linguistics Toolkit - Gaffes, Phonetics, and Text Transformation


[Up] [Top]

Documentation for package ‘covfefe’ version 1.0.0

Help Pages

adjacent_key_typo Generate adjacent-key typo
analyze_gaffe Analyze a gaffe comprehensively
blend_score Score how well a word is a blend of two others
blend_words Blend two words into a portmanteau
consonant_pairs Phonetically Similar Consonant Pairs
corrupt_text Corrupt text with specified error type
covfefy Covfefy any word.
covfefySentence Covfefy any sentence.
covfefySpeech Covfefy any speech.
detect_blend Detect possible source words for a blend
detect_typo_type Detect likely typo type
gaffes Political Linguistics Museum Data
garble_sentence Garble a sentence with random corruptions
get_phonetic_group Get phonetic group for a consonant
is_keyboard_adjacent Check if two keys are adjacent
keyboard_mash Simulate keyboard mash (extra characters)
museum_by_person Filter gaffes by person
museum_by_type Filter gaffes by typo type
museum_by_year Filter gaffes by year
museum_list List all gaffes in the museum
museum_lookup Look up a specific gaffe
museum_random Get a random gaffe from the museum
onset_nucleus_coda Parse syllable into onset, nucleus, coda
phonetic_distance Calculate phonetic distance between words
phonetic_groups Phonetic Consonant Groups
phonetic_shift Shift consonant to phonetically similar consonant
qwerty_adjacency QWERTY Keyboard Adjacency Data
qwerty_adjacent Get adjacent keys on QWERTY keyboard
qwerty_distance Calculate QWERTY distance between two keys
qwerty_layout QWERTY Keyboard Layout Data
soundex Calculate Soundex code
soundex_map Soundex Encoding Map
suggest_corrections Suggest corrections for a typo
syllabify Split word into syllables
syllable_count Count syllables in a word
syllable_swap Swap syllables between two words
vowel_shift Shift vowels in a word
vowel_shifts Vowel Shift Mappings