Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44078 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67172 invoked from network); 27 May 2009 08:43:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 May 2009 08:43:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=azmodai.paul@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=azmodai.paul@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.220 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: azmodai.paul@gmail.com X-Host-Fingerprint: 209.85.220.220 mail-fx0-f220.google.com Received: from [209.85.220.220] ([209.85.220.220:41343] helo=mail-fx0-f220.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8F/BB-06613-E3DFC1A4 for ; Wed, 27 May 2009 04:43:43 -0400 Received: by fxm20 with SMTP id 20so5151618fxm.23 for ; Wed, 27 May 2009 01:43:39 -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:content-type; bh=5BUDi2Y8W1PjpwlXCTYLSqJMsbJUrXH0N7auF9fraag=; b=bh/mKTCV+4ewtGb4zqAMjqkN8oI3wZpOPpx4xS7fGrz73M7RibDEMjRyAOfnn09RrS fNDQvo2dh0E+PfJopVzgq99jQMDPZAzkEqgHoujuhd60wYEE+BlsKejOX9hDmnycMKnO D7Dr7YiWN7PQzBZ2VJWHdZLrcidTgRUCsKs88= 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 :content-type; b=Qe7Wfr+rvYQ4t2InnXRQ5DJlnhKOw2HJdmnQU0HfJ1Cf/7t3GvzE5Nf5RXU34FPKiR ixk30wf/gITfpVm7M34ipo0jpw3HhIC+azMr1qPRvOpdZWmwpzCmAHG3zgJEET5r1YAZ SDhKTsXFkiQDJFO6pHiy9EDMF4C4zwXiYB7sE= MIME-Version: 1.0 Received: by 10.86.76.13 with SMTP id y13mr8092144fga.8.1243413819379; Wed, 27 May 2009 01:43:39 -0700 (PDT) In-Reply-To: <7f3ed2c30905261106w63745d33t8ede4e15a460cc06@mail.gmail.com> References: <88441b60905260717w78cf2bb6i1ffc47ea2afb59da@mail.gmail.com> <7f3ed2c30905261106w63745d33t8ede4e15a460cc06@mail.gmail.com> Date: Wed, 27 May 2009 10:43:39 +0200 Message-ID: <88441b60905270143k1307fa2ap2a9cf4390f1aea9@mail.gmail.com> To: Hannes Magnusson , internals@lists.php.net Content-Type: multipart/alternative; boundary=000e0cd25100035182046ae0d719 Subject: Re: [PHP-DEV] [PHP] Question about Olivier's method From: azmodai.paul@gmail.com ("paul (aka: azmodai)") --000e0cd25100035182046ae0d719 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Oops, indeed I forgot speaking about the comment I found when I was searching for similar_text properties Thank you very much for your help Hannes and Paul ! I'm going to read this file right now ;-) 2009/5/26 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 > --000e0cd25100035182046ae0d719--