Skip to contents

Methods for Lorem Ipsum generation. Lorem Ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content.

Super classes

charlatan::BareProvider -> charlatan::BaseProvider -> charlatan::LoremProvider -> LoremProvider_en_US

Examples

x <- LoremProvider_en_US$new()
x$word()
#> [1] "traditional"
x$words(3)
#> [1] "magazine"   "score"      "technology"
x$words(6)
#> [1] "thought" "not"     "let"     "green"   "exactly" "wide"   
x$sentence()
#> [1] "Wrong then word article stay time though."
x$paragraph()
#> [1] "Fly prove recently yard keep deal. Show seem use value."
x$paragraphs(3)
#> [1] "View scientist move property feeling later poor. Tend week either never north."                        
#> [2] "Memory participant analysis positive cut garden lead. Black face local finish teach industry discover."
#> [3] "Body kind difference marriage. Become family long. Street friend meet big attention write left."       
cat(x$paragraphs(6), sep = "\n")
#> Southern beautiful reduce begin. Tax last off opportunity Mr hear these. Seat outside store set surface share.
#> Hair blue ok. Body nice their ask manage least. West maybe partner employee institution part indicate.
#> Relationship blood only military. Why sell her plant weight. Between while somebody live nature six development. Keep course politics night various news.
#> Various stuff through protect simply rather majority. Professional summer task box add.
#> Design own head morning collection through.
#> Democratic economy budget. Create enjoy manage third each region education.
x$text(19)
#> [1] "Dream various."
x <- LoremProvider_en_US$new(word_connector = " --- ")
x$paragraph(4)
#> [1] "Actually --- student --- technology --- card --- day --- card. --- Important --- anyone --- agreement --- let. --- Edge --- prove --- behind --- onto. --- Send --- within --- movement --- foot --- after --- need --- world."