Back to LanguageTool Homepage - Privacy - Imprint

Disambiguation, removing multiple readings


(Ruud Baars) #1

Somehow, I cannot find a method to drop all invalid postags for a word.
Filter seems to add a tag when no hit; remove does not accept regexp.
Multiple disambig lines are also not allowed.

How can I do this?


(Daniel Naber) #2

We have e.g. <disambig action="remove" postag="VER.*"/> in German, so regex should work fine.


(Ruud Baars) #3

So without postag_regexp. That is not what I expected. I will give it a try.