[en] false positive your vs you're

I am having this issue repeatedly in English. Whenever a continued present tense verb is used as a noun. It seems to confuse this with the continued present tense participle (using my high school French or English as second language grammar lingo). In which case, it would be right.

Have this been solved? I found another thread about “your you’re” in topic title.
Difference between “you’re” and “your” and “Check/Cheque” (languagetool.org) Jul '15

Are there others?

optional request of conversation. (from tangible).
Is the grammar using constructive AI, or does it also use NN? type of language machines? I am new to how NN are used under the hood, for strings and their context dependencies at distance. But this might be of a constructive model type of problem. Identifying where the same word is used in a grammatical local relationship as a name or a verb, or is it that, it is of semantic “ambient” context dependent nature? Yes also curious about filling in some conceptual gaps of mine. Usiing Q and A as a fastworward way, if that works.