Hi, there's a regex that makes tests quite slow in PatternTestTools.java:
CHAR_SET_PATTERN = Pattern.compile("(\\(\\?-i\\))?.*(?<!\\\\)\\[^?([^\\]]+)\\]") I don't fully understand it, does it need to be that complicated? If I simplify it like this: CHAR_SET_PATTERN = Pattern.compile("\\[^?([^\\]]+)\\]"); The tests become much faster (45 second -> 8 seconds for Polish when running just the disambiguation tests). Regards Daniel ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel