Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 44211 invoked from network); 3 Mar 2011 12:39:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Mar 2011 12:39:20 -0000 Received: (qmail 61403 invoked by uid 500); 3 Mar 2011 12:39:20 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 61304 invoked by uid 500); 3 Mar 2011 12:39:20 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 61296 invoked by uid 99); 3 Mar 2011 12:39:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2011 12:39:20 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of garydgregory@gmail.com designates 209.85.215.43 as permitted sender) Received: from [209.85.215.43] (HELO mail-ew0-f43.google.com) (209.85.215.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2011 12:39:16 +0000 Received: by ewy22 with SMTP id 22so480797ewy.30 for ; Thu, 03 Mar 2011 04:38:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:references:from:in-reply-to:mime-version:date :message-id:subject:to:cc:content-type; bh=80VlknK5xKHjavndp21dfCu21G9z6ToO7Qk7x1EMRQo=; b=DnV3jv53F2GTa+8I0uG749BZJk7iTMM3AmkVT9sWmlDhxNQKN8ztRvL7eJptgD0cFf 3Mi7JDZAQsMWZuVVv2hWwAr+BwVHjKnjxuzQ4iuYhPFqTdqMfPorNBNhLQqFd/ajir6Y J3O4M888xw5WITsHBcNOwpVAXt1osAbp10jg8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type; b=KonFU5fdCYyMEMHN65SpR/eLTDlnoaJZFUn7OGj0LoEhWYeOzcbPRchHv99ggKe65e mo1KYFl96TREpqyclRZAkex9KqUUW16wVjHQS8IEXk8mNidwOv7Uz0QkHPcTevWwk29I pxIrupitGyJLu9mtMW+MBzagwHr0dfgdG22KA= Received: by 10.14.119.132 with SMTP id n4mr800268eeh.42.1299155934911; Thu, 03 Mar 2011 04:38:54 -0800 (PST) References: <201102281413.07286.tweek@tweek.dk> From: Gary Gregory In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8C148) Date: Thu, 3 Mar 2011 07:38:52 -0500 Message-ID: <2102388923873422806@unknownmsgid> Subject: Re: [codec] Error in the Caverphone implemention To: Henri Yandell Cc: Commons Developers List , Martin Nybo Andersen , Matt Benson Content-Type: text/plain; charset=UTF-8 Any though on splitting the class into two subclasses. One for cav 1.0, the other for 2.0? Gary On Mar 3, 2011, at 1:52, Henri Yandell wrote: > Thanks Martin and Gary - sorry for my screwup. > > Very happy that you found the Caverphone code however Martin :) > > Hen > > On Tue, Mar 1, 2011 at 9:59 AM, Gary Gregory wrote: >> The fix is in SVN and scheduled for inclusion in the upcoming Codec 1.5 >> release. >> >> Thank you, >> Gary >> >> On Tue, Mar 1, 2011 at 6:05 AM, Martin Nybo Andersen wrote: >> >>> Hi, >>> >>> On Mon, 28 Feb 2011, Matt Benson wrote: >>> >>> Finally, given the fact that we are discussing patches (which have to >>>> be granted IP blah blah blah anyway) as well as the fact that you are >>>> not subscribed to the developer list, this exchange should be >>>> conducted in JIRA. >>>> >>>> Matt >>>> >>> >>> I wrote the mail to raise a flag. You saw it, which was my intention. I'm >>> happy now. >>> >>> To create a jira account for this minor bug seems to be overkill for me. >>> Remember that the harder it is to report a bug, the fewer bugs will be >>> reported. >>> >>> I am not subscribed to this mailing list for the same reason. >>> >>> What you do with the bug now, is for you to decide. >>> >>> >>>> On Mon, Feb 28, 2011 at 10:04 AM, Gary Gregory >>>> wrote: >>>> >>>>> Would you be able to include a unit test patch in your diff file? >>>>> >>>> >>> new Caverphone().encode("mbmb") currently returns "MMP1111111" while it >>> should return "MPM1111111". >>> >>> >>>>> Also, it seems that the examples from >>>>> >>>>> http://en.wikipedia.org/wiki/Caverphone >>>>> >>>>> do not match our code: >>>>> >>>>> {"Lee", "L11111"}, >>>>> {"Thompson", "TMPSN1"}, >>>>> >>>>> >>> These Caverphones seems to be version 1. Version 2 which is implemented in >>> apache.commons uses 10-letter-codes. >>> >>> Hm... >>>>> >>>>> Thank you, >>>>> Gary >>>>> >>>>> On Mon, Feb 28, 2011 at 8:13 AM, Martin Nybo Andersen >>>>> wrote: >>>>> >>>>> Hi, >>>>>> >>>>>> I've found an error in the Caverphone language codec. >>>>>> >>>>>> According to the specs at page 2 line 6: >>>>>> "If the name ends with mb make it m2". >>>>>> >>>>>> Apparently is has been interpreted as: >>>>>> "If the name _starts_ with mb make it m2". >>>>>> >>>>>> The attached patch will fix it. >>>>>> >>>>>> Please CC me, as I'm not subscribed. >>>>>> >>>>> >>> >>> Regards, >>> Martin Nybo Andersen >> >> >> >> >> -- >> Thank you, >> Gary >> >> http://garygregory.wordpress.com/ >> http://garygregory.com/ >> http://people.apache.org/~ggregory/ >> http://twitter.com/GaryGregory >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org