Back to LanguageTool Homepage - Privacy - Imprint

Rules on "in regards to"


(Kumara) #1

This rule....

<rule id="IN_REGARD_TO" name="in regards to (regarding, with regard to)">
            <pattern>
                <token>in</token>
                <token>regards</token>
                <token regexp="yes">to|of</token>
            </pattern>
            <message>Use simply <suggestion>regarding</suggestion> or <suggestion>with regard to</suggestion>.</message>
            <short>Nonstandard phrase</short>
            <example correction="regarding|with regard to">Please be aware of the following changes <marker>in regards to</marker> this program.</example>
            <example>Please be aware of the following changes in this program.</example>
        </rule>

... should also include another suggestion: in regard to.

Note that this rule overlaps with others placed later in the xml:
* rulegroup id="IN_REGARD_OR_REGARDS_TO"
* rule id="WITH_REFERENCE_OR_REGARD_TO" (The ID contradicts the rule: "in", not "with".)


(Mike Unwalla) #2

Thanks. Added to my TODO list.


(Mike Unwalla) #3

@Kumara,

Please refer to https://github.com/languagetool-org/languagetool/issues/421

Did you use the LT GUI when you found the problem with the rules for 'in regards to'?

Regards,

Mike


(Kumara) #4

I first found it while using the LT on LO, then rechecked it on LT homepage.

Btw, I just notice that the "Correct sentences for comparison" has
Please be aware of the following changes in this program.

It's correct, but seems not so relevant to the rule.


(Mike Unwalla) #5

@Kumara,

Thanks.

Rules are fixed. Refer to https://github.com/languagetool-org/languagetool/commit/9503da327ea460c42e67e86dfebe544bf452dba8.