Swearings correction doesn't work #118
Description
Hello, and first of all, thank you for all your hard work on this awesome tool!
Behaviour I am facing occurs when there is swear word (f.e. "bstard") typed with misspelling - I can't get corrected version from it ("bastard") when running spellchecker.getCorrectionsForMisspelling("bstard")
, instead it gives other words (like "bustard), but not what I actually need.
At the same time using spellchecker.isMisspelled("bastard")
will return false, which means word is in the list already, so just adding word to the dictionary with spellchecker.add("bastard")
doesn't resolve the issue.
It is crucial for my use-case to get profanities corrections, so I would be very grateful if you could:
a) tell me if I got the reason of the issue correctly, or if I am missing something important
b) navigate me to the option how to remove this kind of "swear word restriction"
c) expose such option if it is not present in current API
Thanks in advance!