You probably know of Lorem ipsum, which is a placeholder text with gibberish like:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce in nisl id elit molestie imperdiet.
Now, Ipse Dixit is another generator, it produces gobbledygook like:
Igitur Lugdunenses extimulare singulos militum et clamoribus complebant, cum emissi militum globi verberibus et intento ferro turbatos disiecere.
It “runs a Markov chain algorithm over the surviving works of the Roman historian Tacitus to generate naturalistic-looking pseudo-Latin gibberish.”
You can use it as a library:
>>> import ipsedixit >>> generator = ipsedixit.Generator() >>> paragraphs = generator.paragraphs(n, min=2, max=4)
Or use its command-line:
$ ipsedixit -h usage: ipsedixit.py [-h] [-v] [-min MIN] [-max MAX] [num] positional arguments: num number of paragraphs to generate (default: 4) optional arguments: -h, --help show this help message and exit -v, --version show program's version number and exit -min MIN min number of sentences per paragraph (default: 2) -max MAX max number of sentences per paragraph (default: 4)
It’s made for Python 3 only, placed in Public Domain using Unlicense License, currently version 0.9.3 (2014-04-06).
“Lorem ipsum on steroids.”
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.