languagetool-org / languagetool

Style and Grammar Checker for 25+ Languages
https://languagetool.org
GNU Lesser General Public License v2.1
12.26k stars 1.38k forks source link

Getting rid of nonsensical spell-check suggestions (compounds) #753

Open janschreiber opened 7 years ago

janschreiber commented 7 years ago

Now that we have a huge number of good suggestions to choose from, I think it is a good moment to lean back and think about how we can further improve the suggestions.

When I go through suggestions.txt with a spell checker, I see some things that I really wish weren't there.

Some words never seem to be used in compounds that make sense. Here is a round-up of some of the worst offenders and some silly compounds in which they occur:

Some remarks:

Any other ideas?

danielnaber commented 7 years ago

I agree - but I guess this needs to be fixed in the hunspell dictionary? So we'll need to contact its author and wait for a new release (which can take a year or so). Alternatively we'd need to modify the dictionary, but then we'd need to merge our changes with the next update.