Skip to content

matthewrudy/laowaihua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

LaoWaiHua
======

A "Lorem Ipsum" generator for Chinese (simplified)

taken from the tongue-twister

  一位爷爷他姓顾,
  上街打醋又买布。
  买了布,打了醋,
  回头看见鹰抓兔。
  放下布,搁下醋,
  上前去追鹰和兔,
  飞了鹰,跑了兔。
  打翻醋,醋湿布

  yi wei ye ye ta xing gu
  shang jie da cu you mai bu
  mai le bu, da le cu
  hui tou kan jian ying zhuan tu
  fang xia bu, ge xia cu
  shang qian qu zhui ying he tu
  fei le ying, pao le tu
  da fan cu, cu shi bu.

Example
======
  >> require 'laowaihua'
  
  >> LaoWaiHua(25)
  => "一位爷爷他姓顾,上街打醋又买布。买了布,打了醋,回"
  
  >> LaoWaiHua.random(20)
  => "跑抓跑,姓打,追顾布顾,位翻。上兔醋顾。"
  

About

a "Lorem Ipsum" generator for Chinese

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages