On 2016-05-16 19:09, Andriy Rysin wrote:

>   public List<RuleMatch> filter(List<RuleMatch> ruleMatches) {
>     Collections.sort(ruleMatches);
> ...
> 
> but I didn't realize we only sort by the error positions so if if
> positions are exactly the same it's random.

Nice catch, but Chrome and the form on languagetool.org both access the 
same API and if you call it directly at 
https://languagetool.org:8081/?autodetect=yes&text=... you'll see that 
the results seem to be stable. Also see 
http://docs.oracle.com/javase/8/docs/api/java/util/Collections.html and 
search for "stable". So I still think the issue is that both clients 
ignore different rules.

Regards
  Daniel


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to