tbroadley/spellchecker-cli

Ability to mark specific words as incorrect/inappropriate

JasonJhuboo opened this issue · 1 comments

Firstly, this spell checker is fantastic! One thing I would love to see would be the ability to flag words as incorrect in a personal dictionary.

For example - I would like to flag 'Seperate' as being incorrect (it is marked as correct when I use the en-GB dictionary, as is the word 'Separate')

Another usage - I would like to flag specific words (rude words perhaps) which shouldn't appear in any of my documentation.

I was thinking this could be done as some sort of 'exclusion dictionary', were all words or expressions in the exclusion dictionary are removed from the list of valid words (from the amalgamation of words in the main dictionary and custom dictionary) and are therefore treated as spelling mistakes.

Thanks for the kind words! Being able to mark specific words as being incorrect sounds like a good feature. I also like the idea of an exclusion dictionary. I'm not working actively on this project right now so I can't make any promise I'll add it. I'd definitely accept a PR to add it!