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?

(Daniel Naber) #2

You can use Synthesizer to build inflected forms: