Back to LanguageTool Homepage - Privacy - Imprint

Disable spelling for uppercase


(NickHough) #1

Hi,

For my specific implementation of LanguageTool, it would be good to be able to disable the spell check for words that start with an uppercase letter. Names, company names and proper nouns seem to be the most common false positives that occur in the writing, and so disabling the spell check when there is an uppercase letter seems like the easiest way to avoid this.

What would be the best way for me to achieve this? Should I modify the spelling rule java file directly?


(Daniel Naber) #2

You could disable the spell checking rule, extend it with a new class and activate that. This new class would simply ignore uppercase words and for all other it calls its superclass, the standard spell checker class.