It’s a “possible typo” rule that it didn’t catch LanguageTool.
GitHub: https://github.com/languagetool-org/languagetool/issues/11247
Suggestions are welcome.
The best version is pushed to LanguageTool.
New version:
<rule id="WHEY_FOR_QUESTIONS" name="whey (for questions)">
<pattern>
<token regexp='yes'>whey</token>
<token regexp='yes'>did|it's|it</token>
<token regexp='yes'>you|she|he|they|we|I</token>
<token regexp='yes'>do|did|love|like|loved|liked</token>
<token regexp='yes'>the|this|that|those|these</token>
</pattern>
<message>Did you mean <suggestion>why</suggestion> or <suggestion>where</suggestion>?</message>
<short>Possible typo</short>
<example correction="Where|Why"><marker>Whey</marker> did you do that?</example>
<example>Why did you do that?</example>
<example correction="Where|Why"><marker>Whey</marker> did they love that camera?</example>
<example>Where did they love that camera?</example>
</rule>