text-generator
text-generator copied to clipboard
A naive text generator built in JavaScript using Markov chains.
Text Generator 🔗
Generates a random yet syntactically plausible-ish and meaningful-ish text using Markov chains and a bit of luck. Sometimes outputs “wise thoughts”™
Try Yourself! 👨💻
Open the app in the browser and upload a .txt file with a text that will be used as the source for word predictions. The more words this text contains the better, more than 100k is perfect.
How it works 🛠
The generator uses Markov chains to randomly choose a word based on previously generated words. More info about Markov chains, how text generation works, and how to create one of these generators:
- 🇷🇺 In Russian
- 🇬🇧 In English