Back to LanguageTool Homepage - Privacy - Imprint

Retrieving POS information

Hello! Forgive me if this is a silly question or if it’s already been answered elsewhere, but is it possible to retrieve languagetool’s POS analysis for a given text via the API? If no, is there a documented way of modifying the behaviour of the API so that it returns more than just corrections and suggestions (assume I have a local instance on my machine and the ability (albeit comically low) to edit/write Java code)?

Thank you. Regards

The HTTP API will only return matches, not the text analysis. If you want to change that locally, you could work backwards from RuleMatchesAsJsonSerializer.java (the class that generates the JSON).