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] "manage"
x$words(3)
#> [1] "north"   "coach"   "message"
x$words(6)
#> [1] "international" "director"      "air"           "respond"      
#> [5] "whom"          "push"         
x$sentence()
#> [1] "Guy east part around everything rate go politics."
x$paragraph()
#> [1] "Feeling likely board policy bill church. Travel bar tree cover argue. Push sort along project team my visit family."
x$paragraphs(3)
#> [1] "Investment program population long center. Plant wish turn attack your alone factor financial. Actually catch result certain. Always build term."
#> [2] "Worry responsibility fall over. Particular decision campaign treatment big hundred. Perform sense arrive PM as view."                            
#> [3] "Southern sing level. Show analysis western wait then land."                                                                                      
cat(x$paragraphs(6), sep = "\n")
#> Despite offer wide something trade local data score. Success later truth.
#> Some nearly care do born. Interest culture around when American theory now. Plant poor yard next. Him remember event.
#> Here scientist if choice against join. Who section wear easy.
#> Young meeting on interesting brother American safe begin. Either pick letter probably pattern degree official pass. Few son usually left.
#> Piece place consumer technology training it coach. True age information party his budget necessary. Star indeed show.
#> How pick economy food. Million road surface.
x$text(19)
#> [1] "Ten boy own skill."
x <- LoremProvider_en_US$new(word_connector = " --- ")
x$paragraph(4)
#> [1] "Doctor --- shoulder --- system --- agree. --- Government --- type --- interest."