You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Keller (JIRA)" <ji...@apache.org> on 2012/08/18 12:57:37 UTC
[jira] [Created] (CODEC-147) BeiderMorse phonetic filter give
uncertain results
Emmanuel Keller created CODEC-147:
-------------------------------------
Summary: 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
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
[jira] [Closed] (CODEC-147) BeiderMorse phonetic filter give
uncertain results
Posted by "Gary D. Gregory (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CODEC-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory closed CODEC-147.
---------------------------------
Released in 1.7 today.
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CODEC-147) BeiderMorse phonetic filter give
uncertain results
Posted by "Emmanuel Keller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CODEC-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437550#comment-13437550 ]
Emmanuel Keller commented on CODEC-147:
---------------------------------------
Hi Thomas,
That's true, it has been fixed in the trunk version.
Regards,
Emmanuel
> 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
>
> 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
[jira] [Commented] (CODEC-147) BeiderMorse phonetic filter give
uncertain results
Posted by "Thomas Neidhart (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CODEC-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437293#comment-13437293 ]
Thomas Neidhart commented on CODEC-147:
---------------------------------------
Hi,
have you tested the latest trunk version? A fix was applied to make the encoder deterministic and also behave better in case of rubbish input (could lead to OOM situations before).
Thomas
> 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
>
> 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
[jira] [Resolved] (CODEC-147) BeiderMorse phonetic filter give
uncertain results
Posted by "Thomas Neidhart (JIRA)" <ji...@apache.org>.
[ 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