Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44066 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5515 invoked from network); 26 May 2009 18:06:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 May 2009 18:06:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.152 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 72.14.220.152 fg-out-1718.google.com Received: from [72.14.220.152] ([72.14.220.152:6102] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/5E-35509-1BF2C1A4 for ; Tue, 26 May 2009 14:06:43 -0400 Received: by fg-out-1718.google.com with SMTP id 16so1204133fgg.0 for ; Tue, 26 May 2009 11:06:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=lKsXbXiLZGwUzD4CSiNFLZkIngkeEK9EsCd8WwqeWLc=; b=xjwKDhc6cSn48EcQezGnKOKrAZCwEmBCzC7FxQgTyLaZCUDU3lyRrsBo3sJBNnO8Us YFWNGDLwHziMH2PbzdWkm86yYG98ccSFBxbTZB0y1EjxqxvsulSzIqlfDXgTiuicRapT tLtwSx2FrGxTcH3ggYVVCvk48UCw1hJpnMH6k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZLbNQQCceVtg+gD3L2buxpRhce97qYwhb7akoFl6BuHbJT8raFgUfGlyqDjNsveDJ5 P7yfY2N9jbcY7HCEp6cSuAeiwe/n9v6DeFgMThiW3Eq6wUhwcjFAPtokWV6uqYhRUOBS 2J2cNo9Sz7kjkQgqrmIyebxd5InUrpZ3nCIYA= MIME-Version: 1.0 Received: by 10.86.31.19 with SMTP id e19mr7283779fge.24.1243361197564; Tue, 26 May 2009 11:06:37 -0700 (PDT) In-Reply-To: <88441b60905260717w78cf2bb6i1ffc47ea2afb59da@mail.gmail.com> References: <88441b60905260717w78cf2bb6i1ffc47ea2afb59da@mail.gmail.com> Date: Tue, 26 May 2009 20:06:37 +0200 Message-ID: <7f3ed2c30905261106w63745d33t8ede4e15a460cc06@mail.gmail.com> To: "paul (aka: azmodai)" , sas@php.net Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [PHP] Question about Olivier's method From: hannes.magnusson@gmail.com (Hannes Magnusson) On Tue, May 26, 2009 at 16:17, paul (aka: azmodai) wrote: > Hello, > > I'm looking for information about Olivier's method in order to supplement a > talk. I spent a lot of time on engine searchers and I didn't find something > documented enough to make me understand the way of working of such a method. > Then I decided to contact you directly. Because I use the php similar_text > function using this method to study how regular sentences change when they > spread in a sample of people. I thought you could help me. > Do you know a webpage or something else where I could find information about > Olivier's method ? To decrypt this question, he is talking about the comment in the manual on www.php.net/similar_text "calculates the similarity between two strings as described in Oliver [1993]. Note that this implementation does not use a stack as in Oliver's pseudo code, but recursive calls which may or may not speed up the whole process. Note also that the complexity of this algorithm is O(N**3) where N is the length of the longest string." That comment has been there since 9 years and 11 months ago, committed by sas (which was the initial commit). So, who is this Oliver - and where is that description/pseudo code? :) -Hannes