Back to LanguageTool Homepage - Privacy - Imprint

Get word form by changing token's postag in Java rule


I’m trying to write LT Java rule and got stuck on how to get replacement for my error.
I have identified the token (AnalyzedTokenReadings token) as an error, and now I want to suggest other form (e.g. suggest VBZ instead of VB) of this token as a replacement.
How to do that?

You can use Synthesizer to build inflected forms:

1 Like