Back to LanguageTool Homepage - Privacy - Imprint

Problems detecting when a personal pronoun is linked with a mass noun


(Irvine) #1

I have tried making various variations of the following pattern and test phrase, both on my installation, and with the online rule editor.

Typical test phrase: “As you make your bed, so you must lie in it.”

Typical pattern:




so

In this particular situation, LT does not seem to be able to detect when a pronoun is linked with mass noun, (though it seems to recognise adjectives without any problems.) To emphasise, it seems to be something to do with linking the personal pronoun with the mass noun, for example:



so

Works fine.

Any ideas what I am doing wrong?

Thanks in advance

Irvine


(Daniel Naber) #2

PRP$ is a tricky special case, as the "$" has a special meaning in regular expressions. To actually address PRP$, you need to write it as PRP\$ when in a regular expression.