Back to LanguageTool Homepage - Privacy - Imprint

Antipatterns in disambiguation

I have just added support for <antipattern> in disambiguation.xml. Please give it a try and let me know if there are issues.

2 Likes

Wow, great.
But I will not be able to use it soon; a bit too busy. But I will give feedback as soon as I can.

Works, great, thanks!
BTW can we also allow <or> in disambiguation rules?

Maybe it already works when allowed in the *.xsd, I have not tested it.

Seems like <or> in disambiguation needs to be implemented (initially I thought it worked out of the box but my rule had a problem), so I took a quick shot (by copying pieces from PatternRuleHandler) but it requires more research. Will try a bit more tomorrow.