Back to LanguageTool Homepage - Privacy - Imprint

Disambiguation


(Ruud Baars) #1

The examples in the wiki for disambiguation are quite complex.

  • What should I do to remove all postags from a word, and add a new one that is dictated by the words around it?
  • How do I remove all postags on a word except one?

(Knorr) #2

Have a look at http://wiki.languagetool.org/developing-a-disambiguator
The relevant actions are “filter” and “replace”


(Ruud Baars) #3

Of course I had a look there. And i managed to get quite good results with filterall. a normal filter does not work as I think it should, see the other post. The examples are quite complicated and unclear in what they do exactly. But I will find out, by trial and error.