Hi, I'd like to propose a change of the API. Currently to get a working LT instance you need to use this code:
JLanguageTool langTool = new JLanguageTool(new BritishEnglish()); langTool.activateDefaultPatternRules(); If you forget the call to activateDefaultPatternRules() you'll get an LT without the pattern rules. For most users, this will look as if LT is not properly working. So I suggest we simply remove the public method activateDefaultPatternRules() and instead load all pattern rules for the given language already when the constructor is called. Any objections? Regards Daniel ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel