Either British or American English

I’ve just started looking at LanguageTool - apologies if this is a foolish question.

I would like to check some “generic English” text, where either British or American English are acceptable. I’ve tried using org.languagetool.language.English instead of org.languagetool.language.BritishEnglish, but this doesn’t seem to have the desired effect (I don’t get any spelling mistakes reported).

Clearly I could process the text with both BritishEnglish and AmericanEnglish and then retain only those problems that are identified by both, but I wonder if there’s a better way to achieve this?

Many thanks in advance for a pointer in the right direction.

Hi Paul,

thanks for using LanguageTool. The use case you describe isn’t supported yet, so the only thing you can do is to run two checks and filter the results, as you suggest.

Regards
Daniel

Thanks for the rapid reply, Daniel. I’ll run two checks and filter the results - at least I will do so knowing that I’m not missing a better solution :slight_smile:

Thanks again,