What you can do¶
| Task | What it does | Status | Guide |
|---|---|---|---|
| Punctuation and capitals | Puts back punctuation and capitals in text that has none (speech-to-text, chat), in each language's own marks: । for Hindi, ። for Amharic, ، and ؟ for Arabic script. | stable | Punctuation |
| Language of every word | Tells you the language of every word in mixed text: Hinglish, Taglish, Sheng, Spanglish, Yoruba–English and more. | stable | Code-switching |
| Word boundaries | Finds the words in Thai, Lao, Khmer and Burmese, which are written without spaces. | stable | Segmentation |
| Next-word suggestions | Suggests the next word or phrase as someone types, in 475 languages. | beta | Suggestions |
| Autocorrect and tone marks | Fixes typos and real-word errors, and puts back missing tone marks and accents, in 307 languages. | beta | Autocorrect |
Each model is about 16 MB, downloads the first time you use it, and runs on an ordinary CPU.
Try it¶
import yellowmist as ym
ym.punct("e kaaro bawo ni ise ati ebi re", "yor_Latn")
ym.switch("Yaar aaj office mein bahut meetings thi", langs=["hin_Latn", "eng_Latn"])
ym.segment("ภาษาไทยไม่มีช่องว่างระหว่างคำ", "tha_Thai")
# ['ภาษาไทย', 'ไม่', 'มี', 'ช่องว่าง', 'ระหว่าง', 'คำ']
import * as ym from "yellowmist";
await ym.punct("e kaaro bawo ni ise ati ebi re", "yor_Latn");
await ym.switch("Yaar aaj office mein bahut meetings thi", { langs: ["hin_Latn", "eng_Latn"] });
await ym.segment("ภาษาไทยไม่มีช่องว่างระหว่างคำ", "tha_Thai");
yellowmist punct "sannu da zuwa yaya aiki" --lang hau_Latn
yellowmist switch "Niko busy sana leo" --langs swh_Latn,eng_Latn
Why YellowMIST¶
- Every language, not just the big ones. Hundreds of languages across Africa, Asia, the Americas, Europe and the Pacific, grouped into 12 regions so an app downloads only what its users need.
- On the device. ONNX models of about 16 MB (int8). Private by design, free at runtime, and they work offline.
- Everywhere you write code. The same API in Python and JavaScript (browser and Node), plus an editor plugin for TipTap and ProseMirror.
- Honest numbers. Every model card reports its results on held-out text, including where it is weak, and how it compares with a much larger model.
- Make it yours. Fine-tune the YellowMIST models on your own text with one notebook, and use the
result with
model=....
YellowMIST is part of the Olaverse SDK family. Apache-2.0.