Back to LanguageTool Homepage - Privacy - Imprint

Antipatterns in disambiguation


(Daniel Naber) #1

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


(Ruud Baars) #2

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.


(Andriy) #3

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


(Daniel Naber) #4

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


(Andriy) #6

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.