| garble_sentence | R Documentation |
Garble a sentence with random corruptions
garble_sentence(sentence, corruption_rate = 0.3)
sentence |
Character. Sentence to garble |
corruption_rate |
Numeric. Fraction of words to corrupt (0-1) |
Character. Garbled sentence
set.seed(42)
garble_sentence("This is a test", corruption_rate = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.