languagetool-org / languagetool

Style and Grammar Checker for 25+ Languages
https://languagetool.org
GNU Lesser General Public License v2.1
12.35k stars 1.39k forks source link

The rule 'USE_TO_VERB' is based on a false-generalization of the case #1700

Open zeeshanalipanhwar opened 5 years ago

zeeshanalipanhwar commented 5 years ago

The case of 'use to' being followed by a VBZ eg: 'use to work' is not always a grammar error; say for example the following case;

This is the laptop that I use to code on. What do you use to keep hands moisturized.

Above two cases are absolutely fine. Or, are they not?

MikeUnwalla commented 5 years ago

@ZeeshanA1i , I cannot reproduce an error with the second sentence.

The first sentence is correct, but consider this sentences, for which LT correctly gives a warning:

This is the laptop that I use to use. (It's slow, so I don't use it now.)

I cannot see how to prevent an incorrect warning. I changed the message to show that the text is not always incorrect.

zeeshanalipanhwar commented 5 years ago

@MikeUnwalla You just strawmanned my argument.


I cannot reproduce an error with the second sentence.

Okay, I should have checked the second one on LT. But that makes no difference.

The first sentence is correct, but consider this sentences, for which LT correctly gives a warning:

This is the laptop that I use to use. (It's slow, so I don't use it now.)

I am not ruling out cases where "USE TO VB" becomes problematic; I said, "The rule 'USE_TO_VERB' is based on a false-generalization of the case.".

Here is an example sentence which is correct but the rule throws an error on LT:

What is it that you use to keep your hands moisturized?

MikeUnwalla commented 5 years ago

Also found this error from the regression:

The symbols and their use to build the canonical structures are shown in the ...

I will let whoever wrote the rule deal with the remaining problems.