Back to LanguageTool Homepage - Privacy - Imprint

Grammar not getting corrected

Hi,

I am using LanguageTool4.4 with Java API.

I have used the sample code in http://wiki.languagetool.org/java-api.

Run1:
Input given:
“Therefore, the payment option if not available to you.”

Output received:
“Therefore, the payment option if not available to you.”

Expected output:
“Therefore, the payment option is not available to you.”.

Run2:
Input given:
“Please find the payment details for the year 2018 are follows”.

Output received:
“Please find the payment details for the year 2018 are follows”

Expected output:
“Please find the payment details for the year 2018 are as follows”.

Please let know, if this is a bug or am I missing something to enable in my code.