Hi,

users of the API regularly use "new German()" and then wonder why they 
don't get spell checking. The solution is to use e.g. "new 
GermanyGerman()" to specify the variant. That's confusing to almost 
everyone including myself, so I'd like to change the API: the 
constructor "German" will be deprecated and there will be a static 
get(Variant) method. From the users' perspective:

old: new German() - new: German.get(German.Variant.NoSpellChecking)
old: new GermanyGerman() - new German.get(German.Variant.Germany)

Same for English and other languages where this is relevant. Let me know 
if you see a problem with that or if you know a better solution.

Regards
  Daniel


------------------------------------------------------------------------------
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to