The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Type: Package
Title: Covfefy Any Word, Sentence or Speech
Version: 0.1.0
Author: Michael Kirchner
Maintainer: Michael Kirchner <michael@kirchner.io>
URL: https://github.com/mkirch/covfefe
BugReports: https://github.com/mkirch/covfefe/issues
Description: Converts any word, sentence or speech into Trump's infamous "covfefe" format. Reference: https://www.nytimes.com/2017/05/31/us/politics/covfefe-trump-twitter.html. Inspiration thanks to: https://codegolf.stackexchange.com/questions/123685/covfefify-a-string.
License: GPL-3
LazyData: FALSE
Imports: tokenizers
RoxygenNote: 6.0.1
Suggests: testthat
NeedsCompilation: no
Packaged: 2017-06-06 14:32:27 UTC; mkirchner
Repository: CRAN
Date/Publication: 2017-06-06 15:41:50 UTC

Covfefy any word.

Description

We can't all be the Cheeto in Chief, so we need this function to ensure that we have the best words. This function takes a word, and performs the following algorithm thanks to this codegolf thread:

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

Usage

covfefy(str = "coverage")

Arguments

str

Character string of word to covfefy. Defaults to "coverage".

Examples

covfefy("coverage")
covfefy("mexicans")
covfefy("wall")
covfefy("president")
covfefy("programming")

Covfefy any sentence.

Description

Calls covfefy() and uses rules to decide which, if any, word is covfefefied.

Usage

covfefySentence(sent = paste0("Despite the constant negative",
  " press coverage we are going ", "to Make America Great Again"),
  endSentence = TRUE)

Arguments

sent

Character string of sentence to covfefy. Defaults to the famous tweet.

endSentence

Boolean where TRUE forces use of punctuation.

Examples

covfefySentence(paste0("Despite the constant negative press coverage,",
                       "we are going to Make America Great Again"))

Covfefy any speech.

Description

Calls covfefySentences() and uses rules to decide which, if any, sentences are covfefefied.

Usage

covfefySpeech(text = system.file("extdata", "inauguration.txt", package =
  "covfefe"), out = "covfefe_inauguration.txt")

Arguments

text

Location of input .txt file.

out

Location of output .txt file.

Examples

covfefySpeech()

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.