Back to LanguageTool Homepage - Privacy - Imprint

Disambiguation filter


(Ruud Baars) #1

After the word ‘te’, not all word forms are allowed. So I would like to get rid of all unvalid ones.

What is wrong with this?

  <!-- na te kunnen alleen maar bepaalde vormen voorkomen -->
  <rule id="TE_X" name="na te maar bepaalde vormen mogelijk.">
  	<pattern><token>te</token><marker><token/></marker></pattern>
  	<disambig action="filter" postag="BNW:VGR:ONV|BNW:STL:(ONV|VRB)|BYW:JES|WKW:(VTD|ODW):(ONV|VRB)|WKW:TGW:INF.*|ENM:LOC:.*" />
  </rule>

(Ruud Baars) #2

This can be done with action=“remove”; even when not specified, regexps can be used there.