Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8653EDFDA for ; Mon, 20 Aug 2012 19:41:39 +0000 (UTC) Received: (qmail 82803 invoked by uid 500); 20 Aug 2012 19:41:39 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 82686 invoked by uid 500); 20 Aug 2012 19:41:39 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 82513 invoked by uid 99); 20 Aug 2012 19:41:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2012 19:41:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3E44F2C5BF6 for ; Mon, 20 Aug 2012 19:41:38 +0000 (UTC) Date: Tue, 21 Aug 2012 06:41:38 +1100 (NCT) From: "Thomas Neidhart (JIRA)" To: issues@commons.apache.org Message-ID: <52115463.31417.1345491698255.JavaMail.jiratomcat@arcas> In-Reply-To: <2022155832.26471.1345287457989.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (CODEC-147) BeiderMorse phonetic filter give uncertain results MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CODEC-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Neidhart resolved CODEC-147. ----------------------------------- Resolution: Fixed Fix Version/s: 1.7 Already fixed as part of CODEC-132 > BeiderMorse phonetic filter give uncertain results > --------------------------------------------------- > > Key: CODEC-147 > URL: https://issues.apache.org/jira/browse/CODEC-147 > Project: Commons Codec > Issue Type: Bug > Affects Versions: 1.6 > Environment: Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720) > Reporter: Emmanuel Keller > Fix For: 1.7 > > > Hi, > I use the new Beider-Morse encoder and I came across the following issue: > Consecutive encodings with the identical parameters returns different results. > I don't know if I am doing something wrong. > Here is a small application to reproduce the issue: > public static void main(String[] args) { > PhoneticEngine encoder = new PhoneticEngine(NameType.GENERIC, > RuleType.APPROX, true); > for (int i = 0; i < 10; i++) > System.out.println(encoder.encode("test")); > } > Here are the results: > ti|tis|tist|tit > ti|tis|tist|tit > tist > ti|tis|tist|tit > ti|tis|tist|tit > tist > ti|tis|tist|tit > tist > ti|tis|tist|tit > tist > Thank you for your help. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira