Back to LanguageTool Homepage - Privacy - Imprint

Adding new Java rules in the standalone version


(Praneet Khandelwal) #1

I had downloaded the entire source code for the language tool. I was trying to figure out how JAVA rules can be added( for eg. english language). For this I would like to turn all the other rules JAVA rules and rules defined in the grammar.xml off. What do I need to do to turn all the rules off(prevent them from running using the comandline option.)


(Daniel Naber) #2

You can use options -e and -eo to enable only your rule (see documentation or just call the command-line version with --help).