Adding Custom Dictionaries to Spellcheck

I would like to request the addition of custom dictionaries to the spellchecker. This is different from adding words to the user dictionary.

Certain fields, like biology, have massive dictionaries with the number of unique words approaching several tens of thousands. These fields are also (understandably) very pedantic about words and their spellings. I think it would be useful to have an option in the spellchecker options to add pre-made dictionaries to the spelling list. There are many “.dic” files available online for integrating these dictionaries into Office and other word processors. Obsidian can use these files in its spell-checker too, allowing it to tap into existing dictionaries without the mess of converting files into different formats.

For reference, here is an example of a dictionary with a long list of words.

Do note:
I have already tried to copy the words I use in my Office dictionary into .obsidian\config under the “spellcheckDictionary” variable, taking care to format it like a JSON file. Obsidian didn’t seem to like that as it reset the config file immediately when I reopened it. This doesn’t seem to be a good option.

18 Likes

+1! I was just gonna make a request about this. I actually would just like to edit or revamp the the entire list in one fell swoop.

1 Like

If someone could integrate the Google Spell check api through a plugin too that would work well

3 Likes

Any progress on this one by anyone?
Or any other workarounds for autocorrect/spellchecks in British English?

1 Like

+1 to this.

I don’t want any technical dictionaries but a basic one that is more extensive than the default. Obsidian’s default dictionary doesn’t even have many common words.

6 Likes

Mac user here. Spelling should be controlled by OS to be consistent across applications. I vote to remove Obsidian custom spell checker in the Mac version and use native one. I would gladly do the development work if you allow me to help with this.

5 Likes

+1 to this.

1 Like

Obsidian should read the system custom dictionary: ~/Library/Spelling/LocalDictionary on On MacOS; I assume other systems have something similar.

The current situation, with tabula rasa Obsidian that cannot be efficiently “taught” a professional vocabulary, is … suboptimal (drives me nuts :slight_smile:

However, the system dictionary can be quite large (easily 100K words, and much more for e.g. the biomedical field), thus adding words to it should be done with some care; just dumping the whole file and reloading it into memory may not work well.

1 Like

Currently Google search: [ Define ‘word here’ ] is still by far the best. I don’t think the google API even works for this level of problem’d words, but yes having to copy into other things to check spelling, would be good if there was a way to enhance word errors. Currently copying and pasting into word or google search in a small side box is a slow work around.

Whats amazing about the google search, is the machine learning. The spellings can be wildly out and it still works most of the time. I am a diligent person, but spelling is one I have skiped.

I did see there was a java based api for google spelling. But to find a way to have an advanced spelling (and possibly synonyms) work offline would be amazing.

A lukewarm alternative would be working with an existing chrome plugin like https://languagetool.org

So +1 for any obsidian in program future spelling/word enhancement advancements (or for any onetime lifetime add-on).