Here is the whole secret, right at the start: computers that write — all of them, even the
famous ones — are playing one simple game. Cover the page, and guess the next
letter. That's it. That's the entire trick.
Don't believe something so simple could work? Try being the robot for a minute. Below is a
real line from a very old book of Tamil poems, with the ending covered. Which letter comes next?
You play
Notice what your brain just did? You used the letters you could see to guess the one you
couldn't. Maybe you thought "after these letters, that letter usually comes."
Congratulations — that thinking is exactly what our robot does. Nothing more magical.
2. Our robot read only one book — ever
Imagine a kid who has read only one book in their whole life. Nothing else. No TV,
no school, no chats with friends. Everything they know comes from that one book.
Our little robot is that kid. Its one book is the திருக்குறள் —
1,330 tiny poems written about 2,000 years ago. Each poem is just two lines long. The robot
read that book about 329 times in a row. And still, that's ALL it knows about
anything, ever.
1,330
tiny poems in its one book
2
lines in every poem
~329
times it read the book
Remember this later — it explains something funny about our robot's poems at the end.
3. Robots can't read — so we made number cards
Here's an awkward problem: robots don't understand letters at all. They only understand
numbers. So before anything else, we made a deck of number cards — one card
for every different letter in the book. The letter அ got card
number 5. க got card 16. There are only 47 cards in the whole deck.
Now any line of poetry can be turned into a row of cards, and back again. Try it — type
anything in Tamil:
You play
To the robot, poems aren't words at all. They're rows of card numbers. It has never
"seen" a letter in its life. Keep that in mind — it makes what comes next even stranger.
4. The robot's superpower: peeking backwards
When you guessed the covered letter in part 1, you didn't stare at nothing — you looked back
at the letters before it. Some letters helped you a lot. Some didn't matter at all.
Our robot does the same thing. Before every single guess, it peeks back at
everything written so far and decides which letters to pay attention to. It has a strict rule
though: no peeking forward. Ever. That would be cheating — like reading the
answer before the quiz.
And here's the amazing part: this isn't a drawing, it's the real robot's real peeking,
recorded while it read the most famous poem in the book. Touch any letter:
You play — touch a letter
See the glow? When the robot works on a letter in the second line, it often glows
brightest on letters back in the first line — because in these poems, the two lines
rhyme and echo each other. Nobody told the robot that. It figured out where
to peek all by itself. How? That's the next part.
5. How it learned: warmer… warmer… HOT!
Nobody taught the robot Tamil. Nobody taught it spelling, or words, or poems. Instead, it
played the guessing game — millions of rounds — like hot-and-cold:
The robot guesses the next letter.
📖 The book shows the real answer.
🌡️ A little voice says "warmer!" or "colder!" — and the robot adjusts itself a tiny,
tiny bit so next time it's a little less wrong.
🔁 Again. And again. Three thousand rounds of practice, each round with lots of guesses.
Inside the robot there are 815,744 tiny dials, and every round of practice
turns each dial by a hair. No dial ever gets a rule like "put ்
after a consonant." The rules just… grow, from millions of tiny nudges.
We saved the robot's writing at different moments while it practiced. Drag the slider and
watch it grow up — this took 102 seconds on a laptop:
You play — drag through practice time
6. Writing = rolling dice (with a mood dial)
So how does the robot actually write a poem? At every step it doesn't know one
answer — it has hunches: "the next letter is probably this one… but maybe
that one… small chance it's that other one." Then it rolls dice shaped by
those hunches, writes down the letter the dice picked, and starts hunching about the next one.
And we get one wonderful knob: the mood dial. It squeezes or stretches the
hunches before the dice roll. See what the same robot wrote in three moods:
You play — pick a mood
When people say a writing robot is being "creative," this dial is honestly most of what
they mean. Not magic. A dial.
7. The robot's poems — and the big secret
After all its practice, our robot writes brand-new poems. These are not in the book —
it made them up:
🤫 The big secret
Show these to someone who reads Tamil and they'll say: "They look like real poems…
but they don't mean anything." And that's exactly right!
Our robot learned the shape of poems — the right length, real word-pieces,
even the way lines start with matching sounds — but it never learned what any word
means. How could it? It only ever saw number cards from one small book. Nobody ever
showed it a mother, or rain, or an elephant — only the letters for them.
So how are the big chatting robots so smart? Same game, same guessing, same
tiny dials — but instead of one small book, they practiced on a mountain of books bigger than
any library, with billions of dials instead of thousands. When you practice guessing on that
much writing, guessing well starts to require understanding what words mean. Meaning
sneaks in through the game.
But deep inside, they're all our little robot: cover the page, guess the next
letter, get a little warmer every time.