Hello everyone,
Would it be possible to make a general rule that dealt with language that is not necessarily incorrect but could be more idiomatic?
For example, the collocation “empirical data say…” is grammatically correct, but “data suggest/support/indicate…” might be more appropriate in certain contexts. I understand that, this could be expressed:
<rule id="subject_of_DATA" name="Collocate of DATA is subject slot">
<pattern>
<token>data</token>
<token>say</token>
</pattern>
<message>Perhaps you could try: <suggestion>suggest, support, indicate</suggestion></message>
<example type="incorrect">Empirical <marker>data say</marker> that</example>
<example type="correct">Empirical data suggest that</example>
</rule>
But, I’d like to know how I might trigger a rule every time a user writes “data + verb”. The rule below does not work because there is no clash between VB and “say”.
<rule id="subject_of_DATA" name="Collocate of DATA is subject slot">
<pattern>
<token>data</token>
<token postag="VB"/>
</pattern>
<message>Perhaps you could try: <suggestion>suggest, support, indicate</suggestion></message>
<example type="incorrect">Empirical <marker>data say</marker> that</example>
<example type="correct">Empirical data suggest that</example>
</rule>
I’d appreciate any suggestions you might have.