Back to LanguageTool Homepage - Privacy - Imprint

Is there a way to hot reload rules or supply a rule to the API to use for a given request?

Is there a way to have the LanguageTool server detect a change in a grammar.xml file and then automatically parse and reload without restarting the server?

Alternatively, is there a way to feed the LanguageTool server a new rule and have it process supplied text?

I’m thinking of how the rule editor can take a rule then quickly search a corpus to reveal flagged sentences.

Thank you so much for your help!

Hi Tyler, I don’t think that’s possible unless you work on the Java API level, where you can dynamically add rules at runtime.