Back to LanguageTool Homepage - Privacy - Imprint

Adding new type (not existed)


I need to add a new type in > <category id=“SYNONYMS” name=“Possible Synonyms” type=“misspelling”>

For example, I want to add a type name synonym (type=“synonym”) so that I can use errorColors in .cfg file to color words that I can replace by my synonyms.

However, after modifying grammar.xml by adding that type I got error as restart LanguageTool (stand-alone ver.)

Can you please show me how to add my own type?


You’ll need to also add the new type at This requires a developer setup, i.e. you’ll need to recompile LT after that.

I seems beyond my ability…
Thank you!