# Gibberish Generator

Gibberish is generated by a remarkably simple computer program. For a description of the algorithm, see "What is Gibberish?"

- Level 1 is based on the statistical distribution of single characters.
- Level 2 is based on the statistical distribution of character pairs.
- Level
*n*is based on the statistical distribution of groups of*n*characters.

Hints: This works best if the input is a paragraph of ordinary words with no line breaks, no tabs, and no extra spaces. Single punctuation marks (periods, commas, etc.) work well, but paired punctuation marks (quotes, parentheses, etc.) do not work well.

You can see the source code in GibGen.htm and GibGen.js (JavaScript).