Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6
-
None
-
Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Description
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.