Practical 02 · Section 1

Counting the r's in strawberry.

Goes with Note 02: the model never sees letters, only numbered pieces.

STRAWBERRY, AS THE MODEL GETS IT strawberry 1 r0 r2 r three, if you remember what's in each box.
Practical 02 · Section 1

Counting the r's in strawberry

Goes with Note 02
About 15 minutes
Any chat tool + a tokeniser page
Aim

To see two things for yourself: that a model answers letter questions from memory rather than by looking at letters, and how a tokeniser actually cuts words, names, numbers and other languages into the pieces the model reads.

You need

Any chat tool. A public tokeniser page, for example platform.openai.com/tokenizer (no account needed). The table below, or paper.

Steps
  1. New chat. Paste exactly:
    How many times does the letter r appear in the word "strawberry"? Answer with just the number.
    Record the answer. Do it three times in three new chats.
  2. New chat. Paste exactly:
    Spell the word "strawberry" one letter per line, then count how many lines contain the letter r.
    Record the answer. This is the "show the pieces" version.
  3. A harder one, new chat:
    How many times does the letter a appear in "Thiruvananthapuram"? Answer with just the number.
    Record the answer. (The right answer is 4. The word is rare enough that the internet has not memorised it.)
  4. Open the tokeniser page. Paste each of these one at a time, and write down the number of pieces and where the cuts fall: strawberry · Strawberry · STRAWBERRY · Bengaluru · Thiruvananthapuram · ₹1,20,000 · 1234567
  5. Paste one sentence in your own language, in its own script; then the same sentence typed in Latin letters the way you would in a message; then in English. Write down the three counts. Keep them; Note 32 collects them.
Observations
StepInputAnswer / piecesWhere it cut
1acount r, plain
1bcount r, plain
1ccount r, plain
2count r, spelled out
3count a in Thiruvananthapuram
4strawberry
4Strawberry
4STRAWBERRY
4Bengaluru
4Thiruvananthapuram
4₹1,20,000
41234567
5your sentence, own script
5same, in Latin letters
5same, in English
You should notice

Most current tools now count the r's in strawberry correctly; the note explains why that is not because they can see letters. The rare word in step 3 is the fairer test. In the tokeniser, capitals change the cut, place names are chopped into several pieces, digits are grouped in threes, and a rupee amount with Indian commas becomes many pieces. Your own language will cost more pieces than English for the same sentence, and the Latin-letter version may cost more still; write down which.

Record

one line: what surprised you in the cuts.

My results 8 Sept 2026, one chat tool at default settings, OpenAI's public tokeniser

StepInputAnswer / piecesWhere it cut
1acount r, plain3
1bcount r, plain3
1ccount r, plain3
2count r, spelled out3
3count a in Thiruvananthapuramnot run yet
4strawberry3st · raw · berry
4Strawberry3Str · aw · berry
4STRAWBERRY4ST · RAW · B · ERRY
4Bengaluru4B · eng · al · uru
4Thiruvananthapuram7Th · ir · uv · anan · th · apur · am
4₹1,20,0006₹ · 1 · , · 20 · , · 000
412345673123 · 456 · 7
5एक वर्ष में 12 महीने होते हैं।9एक · वर्ष · में · 12 · महीने · होते · हैं · ।
5ek varsh mai 12 mahine hote hai11ek · var · sh · mai · 12 · mah · ine · hote · hai
5There are 12 months in a year.not run yet

capitals change the cut. bengaluru is four pieces, london is one. and hinglish costs more than hindi.