RE : Re: [text] Longest common subsequence wrong result?

2017-03-31 Thread Sébastien Piller
o let me know if you think there’s a way to better present this details. Many thanks and all the best, -Rob > On Mar 31, 2017, at 7:16 AM, Sébastien Piller wrote: > > Hi all, > If I call > new LongestCommonSubsequence ().apply ("xxx","yyy"

RE : Re: [text] Longest common subsequence wrong result?

2017-03-31 Thread Sébastien Piller
Integer documented as "longestCommonSubsequenceLength" Envoyé depuis mon smartphone Samsung Galaxy. Message d'origine De : paul womack Date : 31.03.17 13:33 (GMT+01:00) À : Commons Users List Objet : Re: [text] Longest common subsequence wrong result? S

[text] Longest common subsequence wrong result?

2017-03-31 Thread Sébastien Piller
Hi all, If I call new LongestCommonSubsequence ().apply ("xxx","yyy") I get 0 (correct) If I call  new LongestCommonSubsequence ().apply ("Gandalf","Sauron") I get 2 which looks incorrect to me (should have got 1 since there is no sequence of 2 chars on both strings. Is it a bug or an expected beh