Skip to content

Learn from text

github-actions[bot] edited this page Sep 15, 2026 · 1 revision

A new keyboard doesn't know your names, your slang or the jargon of your job, and normally it only picks them up one sighting at a time as you type. Learn from text skips the wait. Open it in a note, an email draft or anything else you wrote, and it reads the text, lists every word the keyboard doesn't know yet, and lets you add the ones you want to your personal dictionary at once.

What it reads

Open Learn from text from the toolbar, or from the toolbox if it isn't pinned (see the toolbar). It reads the text you have selected. With nothing selected, it reads the whole field. It never moves your cursor and never changes the text.

A few things are left out on purpose:

  • Password fields. The panel says so and reads nothing.
  • Words the keyboard already knows. That means words in the word lists for your current language and its secondary languages, your imported lists, your personal dictionary, Android's personal dictionary, your contacts and your app names.
  • Words on your blacklist.
  • Things that aren't words: numbers, single letters, links, email addresses and @handles.
  • Chinese, Japanese, Thai and other scripts written without spaces, where the run of letters between two spaces is a phrase rather than a word.

Some apps only hand a keyboard part of a long field. When that happens a line at the top says only part of it could be read. Select the part you care about and open the tool again. The list stops at 2,000 words, and a note says so when a text has more.

A word only in a language that isn't in your current mix shows up as new. Switch to that language first, or add it as a secondary language, if you're reading text in it.

The list

Every word gets a row, and every row starts checked. Each row shows the word, how many times it appears in the text (×4), and seen 2 when the keyboard has already seen it while you typed but hasn't learned it yet (see Words wait their turn).

Tap a row to check or uncheck it. The header holds the rest:

  • Select all / Select none flips every row at once.
  • The sort chip cycles through Most used, Text order and A to Z. The panel remembers your choice for next time.
  • Word pairs decides whether adding words also teaches the word pairs in the text (below).
  • Add N adds the checked words.

The word's spelling comes from how the text writes it away from the start of a sentence. "Zelda" written mid-sentence is added with its capital, and the capital is kept for good. A word you only ever wrote at the start of a sentence is added in lowercase, because that capital says nothing about the word.

Row actions

The ⋮ on a row opens four actions under it:

  • Edit fixes the spelling before you add it: teh becomes the. The keys come up while you type. Press Enter or Done to keep the new spelling, or Cancel (or Back) to leave the word as it was. The row then reads teh → the. Only what gets added changes, never your text.
  • Show in text selects the word's first appearance in the field, so you can see how it was used. Some apps don't tell the keyboard where text sits, and the action is greyed out there.
  • Never suggest puts the word on the blacklist and takes the row away.
  • Ignore hides the row for this list only. Open the tool again and the word is back, and typing it still counts toward learning it the usual way.

Adding

Add N puts every checked word in your personal dictionary exactly as Add word on the dictionary screen does. Each word is marked as added by hand, so it's safe from autocorrect straight away and reads "You added this word" on the dictionary screen. It leaves the waiting room, comes off the blacklist if it was on it, and is copied to Android's dictionary too when Add words to the system dictionary is on. The added rows disappear, and a line at the top says what happened: "Added 5 words · 12 word pairs".

With Word pairs on (the default), the same tap teaches the pairs the text holds, the way typing the text would have: two-word pairs, three-word contexts and the word two back. So "see you soon" helps predict "soon" after "see you". The same rules as typing apply:

  • Both ends of a pair have to be words the keyboard knows once your words are in. A word you left unchecked never becomes a next-word suggestion.
  • A pair never crosses a full stop, a question mark, an exclamation mark, a danda or a line break.
  • Each pair counts once per Add, however many times the text repeats it, so one long document can't make a phrase outweigh everything you type.
  • Pairs follow Learn from typing. With learning off, or paused in incognito, words are still added (you asked for them) but no pairs are learned.

The panel closes when you move to another field, since what it read belonged to the old one.

Options

Tools / Learn from text

The tool has no settings page of its own beyond its Enabled switch and the toolbar hold action every tool has. Its two choices, the sort order and Word pairs, live on the panel and are remembered from one use to the next.

Choice Default Where
Sort order Most used Panel header
Word pairs On Panel header

To move words between your personal dictionary and Android's own in bulk, use Import from Android's dictionary and Export to Android's dictionary on the personal dictionary screen.

Clone this wiki locally