Swap
← Research library

Interaction design · November 24, 2026

One button to add a word, fix a misread one and teach your stroke

Testers wanted an easier way to add words, and a keyboard that stops correcting words it does not know. The plus button was rebuilt as a small panel above the keys. This is what it does, what the measurements and four blind reviews said, and what is still unproven.

What testers asked for

Three points from early testers led to this work. They wanted spaces to come automatically, but sometimes needed to spell out a word that is not in the dictionary. They wanted a much more intuitive way to add words. And some words were ranked below a neighbour they should have beaten.

The first point is easy to reproduce. With the default settings a tapped word the keyboard does not know is nearly always changed: in the simulator “zubrov” was written “zurich”.

The brief was one button for all of it: press plus, type the word, and it is in the dictionary and in the text. An optional second step lets the person write the word three times, so that their own way of writing it counts from then on.

What the plus button does

Pressing plus opens a panel above the keys, here called the shelf. The keys stay exactly where they were. A word is spelled on the shelf with taps and stands exactly as tapped: no automatic spaces, corrections or capitals, at any pace.

Add saves the word and writes it into the text. Typing then belongs to the text again at once. For eight seconds the shelf offers two quiet buttons: one to teach the word, and one that names what it would take back.

If the keyboard has just written a wrong word, the shelf offers a wide button that names both words, such as Replace “put” with “poiu”. Nothing is replaced unless that button is pressed.

Teaching is optional: three goes at the word, swiped or tapped, none of which goes into the text. A go that could not have been the word is refused and not counted.

The plus button’s flow on a folded iPhone Duo in the simulator: add a word, replace a misread one, teach it in three goes.
The plus button’s flow on a folded iPhone Duo in the simulator: add a word, replace a misread one, teach it in three goes. View full size

Why a shelf, and how tall

The request was for about half the screen of a folded iPhone Duo, so that nothing has to be squeezed. Half the screen would have left 40 points above the keys: one row and one short line. A row at a thumb’s size with two lines of explanation under it needs 84 points, which brings keyboard and shelf to 57% of the screen.

The system does not let a keyboard animate its height. It gives the keyboard the height it asks for in a single frame, a frame or two after the request. Asking for a little more each frame was tried: the system waits until the asking stops and then jumps anyway.

So the shelf does not pretend to slide. Its card is whole in the frame in which the room appears, and stays whole until the frame in which the room is gone. Filmed at 60 frames a second in the simulator, no frame shows an empty tray. A phone has not been filmed.

Folded iPhone DuoPointsShare of the screen
Screen height678100%
Keyboard alone29944%
Keyboard with the shelf38457%

Three traps that reviews found

Practice was a trap. The first two versions went from Add straight into the three practice goes and kept the typing for themselves. A person who carried on with their sentence was told that their next word did not match. Typing now returns to the text at once, and practice begins only when Teach it is pressed.

Replacing by default was a trap too. Three versions made Replace the main button wherever a misreading was likely, and reviewers pressed it, or Return, without having chosen it. Add, Return and Space now never replace a word. Where a replacement is offered, Return and the space bar read “choose” and decide nothing.

Undo had its own fault. Putting back a copy of the earlier text doubled words in apps that show a keyboard only the last part of the text. Undo now reverses the exact edit the shelf made, and is offered only where the keyboard can see the text.

How a taught word is recognized

An example is kept as the outline of the gesture on the keys: every touch joined in the order it began, reduced to 24 points measured in hundredths of a key. No times and no screen positions are kept. An example is therefore the same shape on any keyboard width, and it cannot be played back as touches. A word keeps at most six examples, and 240 words can have them.

Two shapes are compared point by point. Up to 0.14 of a key apart they count as the same gesture. From 0.46 of a key they are a different one.

When a gesture resembles a taught word’s examples, that word is added to the candidates if the search missed it, and raised. One example raises it a little and three raise it fully. With three examples and a close resemblance the taught word wins unless the ordinary reading is far ahead. The word it displaces stays in the suggestions.

When nothing matches, recognition takes exactly the path it took before. A test compares the two answers word for word.

What teaching buys, and what it costs

The measurement is hard on purpose. Twenty common short words are taught at a time, each from three recordings made by other people, and the rest of the recordings are then read. Nothing here is a person using the shelf.

About a third of the taught words that were misread before were put right, and no taught word that was read right before was broken. With the dictionary of the App Store version, 10 of 28 misread one-finger swipes and 12 of 36 misread two-finger words were put right.

The cost falls on near twins of a taught word: for and four, on and in, of and off. Between 0.12% and 0.41% of the other words were lost to a taught word. With a single example the cost is 0.01% to 0.03%, and fewer misreadings are put right: 1 of 23 one-finger swipes and 5 of 21 two-finger words.

A person teaching their own unusual word with their own hand should do better on both counts than strangers’ recordings of common words do. That has not been measured.

Misread taught words put right (top) and other words lost to a taught word (bottom), with three examples for each of twenty common words. Recorded gestures, not people using the shelf.
Misread taught words put right (top) and other words lost to a taught word (bottom), with three examples for each of twenty common words. Recorded gestures, not people using the shelf. View full size
Recordings and dictionaryTaught words read rightMisreadings put rightOther words lost
One-finger swipes, development98.65% to 99.15% of 1,4067 of 1930 of 25,901 (0.12%)
Two-finger words, development98.30% to 98.97% of 1,64411 of 2832 of 9,239 (0.35%)
One-finger swipes, App Store98.01% to 98.72% of 1,40610 of 2831 of 25,032 (0.12%)
Two-finger words, App Store97.81% to 98.54% of 1,64412 of 3636 of 8,744 (0.41%)

Could these touches have spelled the word?

Before a gesture is kept as an example, and before a replacement is offered, a plain check decides whether the touches could have spelled the word at all. Each touch must begin and end on letters of the word, and the letters must come in order in space and in time. The check is strict for offering a replacement and lenient for a practice go.

On recorded gestures the strict check accepts about 86% of gestures for their own word and fewer than 0.4% for another recording’s word. So about one honest misreading in seven is not offered a replacement. Add then writes the word after the wrong one, which has to be deleted by hand. The lenient check refuses about one practice go in forty.

The developer’s own recordings do worse than the public ones because the older of them lost touches when they were recorded.

RecordingsStrict: own wordStrict: another wordLenient: own wordLenient: another word
Public one-finger swipes85.8%0.39%97.6%3.0%
Two-finger words87.7%0.15%96.8%1.7%
The developer’s recordings (199)80.4%0.36%88.9%2.6%

Four blind reviews, one score

The flow was reviewed four times by a reviewer that had never seen it. The reviewers were not people. Each was a fresh model session given only pictures and film frames, with no explanation. Each walked through the flow, measured it and scored it.

Every review gave the same scores: 5 of 10 for “obvious” and 6 of 10 for “polished”. The findings were different each time, and the earlier ones were gone.

A score that does not move in four rounds measures the reviewer more than the progress. What was misread did change every time, and that was the useful part.

A second kind of test gave single screens to fresh readers, again model sessions, with a situation and the question “what do you tap?”. All twelve named the right control first. Two doubts stayed in their answers: what Close does with what was done so far, and whether Done keeps the goes of an unfinished word. Both keep everything.

ReviewMain findings
FirstThe word before the cursor was replaced without asking; what the three swipes were for was unclear
SecondPractice was a hidden mode; “Keep” read as Cancel; there was no undo
ThirdReplace was still the default and Return did it; Undo did not say what it would undo
FourthEvery screen was read correctly; requests for clearer wording; three small visual flaws

What is shown and what is not

Shown on a Mac and in the iPhone simulator: 468 checks of the shelf inside the app at six keyboard widths, with words of up to 48 letters; five tests with the keyboard running as an extension in a plain host app, as it does on a phone; and the complete self-test of 16,874 checks.

Not shown: thumbs on glass. The build has been on the project’s test phone since November 25, and nobody has reported on it from there yet. Whether three examples are enough for a person’s own word in daily typing is open.

Every judgement of “obvious” above comes from model sessions reading pictures, not from people.

Swap 1.0 (4), the version on the App Store when this was written, has the earlier Add word editor and none of this.

Sources

  • Swap project study — The plus button: add a word, put a misread one right, teach how you write it (November 24, 2026)

← Browse all research