Multiple dictionaries for spell checker


#1

Hi,

As I sat down to write some notes for some studying I was supposed to do, I became frustrated with squiggly red lines under my correct Australian spelling :slight_smile:.

I’ve added support to the spell checker to support dictionaries other than the US https://github.com/inkdropapp/inkdrop-spell-checker/pull/2 This will only work on Linux as it looks for dictionary files in /usr/share/hunspell/ which are placed there by the myspell packages.

Would appreciate of anyone could explore other operating systems and see if standard dictionaries exist. Search for files called en_US.aff

It is a bit of a hack at the moment and could be made a bit prettier but it works.

Cheers,
John


#2

Hi John,

Thank you for the PRs!
That looks great. I’ll review it next week :smiley: