All Today

⌨️ Mochi: iPhone keyboard that corrects grammar on the device, offline

· 3 min

Chart of grammar correction score against model size on BEA-2019 dev

In brief


⌨️ Mochi is a keyboard extension for iPhone and iPad (iOS 18 or later) that finds grammar mistakes in any app, such as “your” for “you’re” or “go” for “went”. The suggestion appears above the keys; one tap applies it and another undoes it. It is built by [Pixdeo](https://pixdeo.com/mochi/) (Martin Romañuk). According to its App Store page the check runs on the device: what you type is not sent to a server for checking, and the keyboard works without signal. Mochi checks grammar in English, Spanish, German and Portuguese and fixes typos in ten languages. The app is free and includes five grammar fixes a day; more come with Premium.


In a blog post dated 24 November the developer describes how the model behind Mochi came about. The constraint, in his words: an iOS keyboard may use little memory, about 77 MB on an iPhone 14 and about 177 MB on an iPhone 16. Grammar also means understanding the whole sentence: in “She go to school yesterday” it is the word “yesterday”, three words later, that tells you “went” is right.

The model, which he calls Kiki 2, has 135.7 million parameters and 22 transformer layers, according to the post. It marks words to keep or delete and writes only the new words; unchanged words are copied, so a name cannot be swapped by accident. A small second model decides which of the proposed edits to apply. On the standard BEA-2019 dev benchmark it reaches 57.0 (F0.5) by the developer’s figures, up from 42.5 earlier, and it checks a sentence in about 0.2 seconds on an iPhone 14. He points out himself that the benchmark holds only one reference correction per sentence, and estimates the real precision to be higher (87 to 97 percent).

In use you type as usual; after a sentence or a short pause (about half a second) Mochi checks in the background. Changes appear as a row above the keyboard, for example “go → went”, with a button to apply them. In mixed-language messages the words of the second language are meant to stay untouched; two languages can be used at once without switching. Swipe typing is available in English and Spanish. Further features on the App Store page: keys that adapt to where the thumbs land, a personal dictionary backed up to iCloud, and clipboard, emoji and themes in the toolbar.

Price and limits: Mochi is free to download with in-app purchases. Premium lifts the limit of five grammar fixes a day and fixes as you type without tapping; it comes as a subscription or a one-time purchase. The app needs iOS 18.0 or later. Grammar checking covers four languages with more planned; for Spanish the developer says good training data is scarce and that model is still being trained. If you struggle with grammar in English, Spanish, German or Portuguese and do not want your texts to leave the phone, this is an option; for other languages you currently get only spelling fixes.

Sources

Open in the interactive reader →

This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources. Imprint, privacy policy and terms of service