Hi, I’m writing a rule which catches an error if “these” is followed by singular expression.
<rule id="THESE-NN" name="These singular"> <pattern> <marker> <token>these</token> </marker> <token postag='NN'><exception postag='NNS|CD' postag_regexp='yes'></exception></token> <token postag='MD'></token> </pattern> <message>Did you mean <suggestion>this</suggestion>?</message> <example type="incorrect" correction='This'><marker>These</marker> author should rewrite this point.</example> <example type="incorrect" correction='This'><marker>These</marker> writer should rewrite this point.</example> <example>These two should do ok.</example> </rule>
However, for some reason the word “author” doesn’t get assign a “Part-of-speech” if preceded by the word “these”.
I’ve checked the rulebase and found a few other rules which deal with “This” and “These”, for example ‘this’ vs. ‘these’ and these/those ones (these/those), but nothing which could impact on the word “author”. Any idea what’s special about the word author?