I need to remove two postags from a word. using the action=“remove” using a regexp on the postag does not seem to work.
I now did this, but the manual suggests it can be done simpler (but in a way I do not understand).
<rule id="NEW_015a" name="-">
<pattern>
<token postag="SENT_START"/>
<marker>
<token>wat</token>
</marker>
<token postag="WKW:TGW:3EP"><exception negate_pos="yes" postag="WKW:TGW:3EP"/></token>
</pattern>
<disambig action="remove" postag="BYW:GRD"/>
</rule>
<rule id="NEW_015b" name="-">
<pattern>
<token postag="SENT_START"/>
<marker>
<token>wat</token>
</marker>
<token postag="WKW:TGW:3EP"><exception negate_pos="yes" postag="WKW:TGW:3EP"/></token>
</pattern>
<disambig action="remove" postag="TSW"/>
</rule>