Shaw-Spell

Tl;dr:I have created native Shavian spell-checking and dictionary services for macOS, now available here!

As you will have gathered from my writings here and on Reddit, I’ve been tinkering away on some tools for the Shavian alphabet:

  • I wanted a better native iOS virtual keyboard with my own keyboard layout -> I built Shaw Keys (as of yet unreleased) ✅
  • I wanted a native Safari transliteration plugin for iOS and macOS -> I built the Shave extension (built around my own transliteration engine, also unreleased) ✅
  • I wanted a typing practice tool -> I built the Shaw Type web app, hosted on this website ✅

The two tools I found were missing from the arsenal were a dictionary and a spell checker. Well, on Sunday morning I built Shaw-Spell, a native macOS dictionary and spell checker. Drum roll, please…:

I have been road testing it and tweaking it since then, but so far the experience been fantastic, and once I have it in a place I am comfortable with, I will release it to the world, probably both as a downloadable DMG installer I just made it available for download on this site. I will try to make it available in source form on GitHub in the near future1.

It will also come as no surprise that I did this with Claude Code. I have already expressed my amazement at the tool’s abilities, so I’ll ease off on waxing lyrically in this post. What I will point out, though is that

  1. Claude does best in green field project situations. I kid you not: Shaw-Spell was built from scratch in less than two hours. Most of that time was probably me testing and typing out prompts, if we’re honest.
  2. I am getting better at using the tool, and I suspect that Claude is, in its own way, getting more used to me. I know how to give it clear requirements in the way that produce the best results, and I have compiled some really good background instructions for the tool – project-specific and user-specific do’s and don’ts that the user can prime the tool with.

Anyway! Let me tell you about the tools. The project actually creates six dictionaries:

  • 2 x English-Shavian (GB and US versions)
  • 2 x Shavian-English (GB and US versions)
  • 2 x Shavian-Shavian (GB and US versions)

All six dictionaries contain word definitions, IPA pronunciations, lemma (=word root) information. They were built by merging the Readlex dictionary with Open English WordNet 2024. For the Shavian transliterations of the definitions, I used my own Shave transliteration tool. The differences between the US and GB versions are subtle – mainly involving preferring the chosen dialect’s versions over the ‘foreign’ ones, but still including information about the alternative spellings and pronounciations.

One of the six dictionaries, generated by combining information from Readlex with the Open English Wordnet 2024.

The spell-checker is a native NSSpellServerDelegate, backed by a Hunspell dictionary. The dictionaries come in two flavours: General American English and General British English (well, more like Received Pronunciation, I guess). They were generated using the Readlex spelling variation definitions, which helpfully encode which dialect the spelling variation is from. (I had to resort to heuristics to figure out roman alphabet spelling variations.)

MacOS system integration is seamless! Right-click a word, and it gives you possible spelling variations (in editors) and the possibility to look up the definition or transliteration without even opening the Dictionary app. Useful for when you are reading a blog that’s only available in Shavian, or don’t recognize a word in your ebook (actually my number one use-case!)

Shaw-Spell in action! Spell-checking is spot on. It didn’t like my separated ligatures in Saturdays’s post apparently!

The spell-checker works just the way the inbuilt one does. All you do, is choose ‘British English (Shaw-Dict)’ or ‘U.S. English (Shaw-Dict)’2 as your language, and you’ll be seamlessly able to spellcheck mixed Roman and Shavian alphabet English prose.

I look forward to releasing Shaw-Spell to the world at large! Or rather: to the subset of Shavian users who are on MacOS… If you want Windows or Linux versions of these dictionaries, I will not be able to help you much3. I selfishly built the tools for my own use. Same deal with Android and iOS, though I do hope I’ll find a way of getting some of this functionality on iOS soon.

As mentioned, I will be looking to release this on Github as soon as I can. If you are dying to get your hands on this and help me test it, go to the Shaw-Spell download page!

Footnotes

  1. And maybe even on the App Store one day. ↩︎
  2. I’d actually love to just call them ‘British English (Readlex)’ and ‘American English (Readlex)’. I’ll hold off until I get permission from Mr. Gallaher for that one. ↩︎
  3. It might be possible to reuse the Hunspell dictionaries the projects build in Linux – I know of at least a couple of Unix tools that should work with them. ↩︎


Posted

in

,

by

Comments

3 responses to “Shaw-Spell”

  1. ·𐑨𐑤𐑦𐑒𐑕𐑭𐑯𐑛𐑼 Avatar
    ·𐑨𐑤𐑦𐑒𐑕𐑭𐑯𐑛𐑼

    𐑚𐑮𐑭𐑝𐑴! 𐑲 𐑢𐑦𐑤 𐑛𐑧𐑓𐑦𐑯𐑦𐑑𐑤𐑦 𐑚𐑦𐑒𐑳𐑥 𐑩 𐑿𐑟𐑼 𐑝 𐑞 𐑛𐑦𐑒𐑖𐑩𐑯𐑼𐑦. 𐑦𐑓 𐑘𐑹 ·𐑒𐑤𐑷𐑛 𐑒𐑴𐑛𐑦𐑙 𐑕𐑒𐑦𐑤𐑟 𐑒𐑩𐑯𐑑𐑦𐑯𐑿 𐑑 𐑦𐑯𐑕𐑐𐑲𐑼, 𐑓𐑰𐑤 𐑓𐑤𐑰 𐑑 𐑯𐑨𐑚 𐑥𐑲 𐑲𐑛𐑾 𐑝 𐑜𐑧𐑑𐑦𐑙 𐑑𐑧𐑒𐑕𐑑 𐑑 𐑕𐑐𐑰𐑗 𐑑 𐑢𐑻𐑒 𐑦𐑯 ·𐑥𐑨𐑒·𐑴·𐑧𐑕. 𐑲 𐑕𐑩𐑕𐑐𐑧𐑒𐑑 𐑞𐑨𐑑 𐑕𐑳𐑥 𐑒𐑲𐑯𐑛 𐑝 ·𐑲·𐑐𐑰·𐑱 𐑥𐑨𐑐𐑦𐑙 𐑓𐑮𐑪𐑥 𐑞 𐑤𐑧𐑑𐑼𐑟 𐑢𐑫𐑛 𐑐𐑮𐑩𐑛𐑵𐑕 𐑩 𐑿𐑕𐑓𐑩𐑤 𐑦𐑯𐑳𐑓 𐑑𐑫𐑤.

    1. Joro Avatar

      𐑲 𐑢𐑦𐑤 𐑖𐑵𐑑 𐑿 𐑩 𐑤𐑦𐑙𐑒 𐑯 𐑦𐑯𐑕𐑑𐑮𐑳𐑒𐑖𐑩𐑯!

      𐑓𐑳𐑯 𐑓𐑨𐑒𐑑: 𐑲 𐑚𐑮𐑰𐑓𐑤𐑦 𐑛𐑦𐑛 𐑮𐑦𐑤𐑰𐑕 𐑦𐑑 𐑤𐑭𐑕𐑑 𐑯𐑲𐑑, 𐑚𐑳𐑑 𐑦𐑑 𐑑𐑻𐑯𐑛 𐑬𐑑 𐑑 𐑚𐑰 𐑦𐑥𐑐𐑪𐑕𐑦𐑚𐑩𐑤 𐑑 𐑮𐑳𐑯 𐑞 𐑞 𐑦𐑯𐑕𐑑𐑷𐑤𐑼… 𐑢𐑦𐑤 𐑑𐑮𐑲 𐑑 𐑓𐑦𐑒𐑕 𐑞𐑨𐑑 𐑞𐑦𐑕 𐑰𐑝𐑩𐑯𐑦𐑙.

      𐑲 𐑛𐑴𐑯𐑑 𐑓𐑰𐑤 𐑩𐑯 𐑦𐑥𐑰𐑛𐑾𐑑 𐑦𐑗 𐑑 𐑛𐑵 𐑑𐑧𐑒𐑕𐑑 𐑑 𐑕𐑐𐑰𐑗, 𐑑 𐑚 𐑪𐑯𐑩𐑕𐑑; 𐑐𐑼𐑣𐑨𐑐𐑕 𐑲𐑛 𐑕𐑵𐑯𐑼 𐑑𐑨𐑒𐑩𐑤 𐑞 𐑳𐑞𐑼 𐑢𐑱 𐑮𐑬𐑯𐑛 𐑓𐑻𐑕𐑑! 𐑛𐑦𐑒𐑑𐑱𐑖𐑩𐑯 𐑢𐑫𐑛 𐑚 𐑐𐑮𐑦𐑑𐑦 𐑒𐑵𐑤! 𐑚𐑳𐑑 𐑘𐑧𐑩, ·𐑒𐑤𐑷𐑛 𐑢𐑫𐑛 𐑚𐑮𐑪𐑚𐑩𐑚𐑤𐑦 𐑥𐑱𐑒 𐑤𐑲𐑑 𐑢𐑻𐑒 𐑝 𐑦𐑑… 𐑲𐑤 𐑨𐑛 𐑦𐑑 𐑑 𐑞 𐑤𐑦𐑕𐑑.

  2. Joro Avatar

    𐑞 𐑜𐑦𐑑𐑣𐑳𐑚 𐑮𐑰𐑐𐑴 𐑦𐑟 𐑣𐑽: https://github.com/cozmic72/shaw-spell

Leave a Reply to Joro Cancel reply

Your email address will not be published. Required fields are marked *