On 2015-01-16 05:19, Andriy Rysin wrote:

> Here's a PoC patch to allow ignoring arbitrary characters when 
> analyzing text.

Some ideas:

-add "@since 2.9" to the new public methods
-a test case would be nice

About the "if( false )": do all the tests still work with that? Maybe 
have a look in the file history to see what it is for.

> We could change regex into array of chars and use for loop/indexOf
> (this should still be faster than regexp for several characters).

I don't think this is necessary, unless a performance test shows that 
it's worth it.

Regards
  Daniel


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to