Back to LanguageTool Homepage - Privacy - Imprint

Issue with rule having 2 suggestions


(Ruud Baars) #1

I am having problems with a rule that has 2 suggestions:
Exception in thread "main" java.lang.AssertionError: Dutch: Incorrect suggestions: [in bed] != [in bed, inbedt] for rule INBED[1] on input: Zij ligt inbed. expected:<[in bed]> but was:<[in bed, inbedt]>

What am I doing wrong?


(Daniel Naber) #2

If there's more than one correction, the correction attribute must list both, like this: correction="suggestion1|suggestion2".


(Ruud Baars) #3

Found it. Must be one of the conversion i missed over the years.