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

Hi,

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?
Thanks.

You can use Synthesizer to build inflected forms: Synthesizer (LanguageTool 6.0 API)

1 Like