I'm Diego Dorn. I find it fascinating to see how order and meaning can emerge from a sequence of random bytes, and I've used randomness in many projects, from random images to random fractals.
In 2021, recovering from an appendicitis and a bit bored, I improved an old random word generator to make Alsatian town names, proverbs and film titles. We had a hell of a good time with friends and family, so I wanted to share them ;)
All the generators work the same way:
The sequences of N consecutive words are the N-grams of the corpus, and the important parameter is N. New proverbs appear when two proverbs share N-1 words but continue differently. With a large N, sentences are well formed but this rarely happens, so almost every proverb already exists. With a small N, everything is new... but nonsensical:
> Mieux vaut ne juge pas une chose bien pour faire naître ? ne me faire dire, le long sérieux.
That's N = 2. Proverbs here use N = 3: not perfect, but it works often enough to be fun! The source code is on GitHub.
$
curl https://therandom.space/api/proverb
>
{"quote": "L'hypocrisie est un fleuve.", "likes": 1}
Replace proverb with alsace or film
for other generators, and add ?raw=true to get plain text.
The best of is at /api/bestof, optionally filtered
with ?kind=proverb.
A big Merci to my brother, Félix, for his time and front-end advice, to @HommeViande for the idea, and to Heroicons for the icons.
You can reach me at diego at lama-corp.space. If you had
a good time, you can buy me some chocolate: