Back to LanguageTool Homepage - Privacy - Imprint

Force correct case in suggestion

Hello, I want to create a rule that finds the word ‘Times’ without ‘the’ or ‘former’ in front of it, and add the word ‘the’ in lowercase but it insists on adding ‘The’ in uppercase. How can I force lowercase ‘the’ in the suggestion?

<token case_sensitive="yes" regexp="yes" negate="yes">(the|former)</token>
<message><suggestion>the Times</suggestion></message>

Try this:

<suggestion><match no="2" regexp_match="Times" regexp_replace="the Times" case_conversion="startlower"/></suggestion>

That works perfectly. Many thanks…