commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CODEC-147) BeiderMorse phonetic filter give uncertain results
Date Mon, 20 Aug 2012 19:41:38 GMT

     [ 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

        

Mime
View raw message