Commit Graph

295 Commits

Author SHA1 Message Date
Alan Liu
80a86736aa Fix equals and enhance error checking
X-SVN-Rev: 917
2000-03-08 21:56:41 +00:00
John Fitzpatrick
c787644878 Removed name conflict with BreakIteratorRules_en_US_TEST
used in rbbi tests

X-SVN-Rev: 915
2000-03-07 23:23:39 +00:00
John Fitzpatrick
a5493ca8ef Fixed to work with topleveltest.TestAll. The main function did
initialization that needed to be moved to the constructor.

X-SVN-Rev: 914
2000-03-07 22:54:08 +00:00
John Fitzpatrick
b79ec714b9 fixed compile errors
X-SVN-Rev: 913
2000-03-07 22:11:51 +00:00
John Fitzpatrick
a8a0fd260a Started copyright update
X-SVN-Rev: 912
2000-03-07 22:09:03 +00:00
John Fitzpatrick
c676f9996c initial checkin
X-SVN-Rev: 911
2000-03-07 19:18:04 +00:00
John Fitzpatrick
adf90ac2dc Fixed for JDK1.3 compatibility - DateFormat.getDateTimeInstance
no longer took -1 as a style.

X-SVN-Rev: 896
2000-03-06 22:44:44 +00:00
John Fitzpatrick
fe7cc000bd Changed RuleBasedBreakIterator package to rbbi
X-SVN-Rev: 883
2000-03-02 01:35:55 +00:00
John Fitzpatrick
1fe2cd9753 No longer make Chinese calendar resources
X-SVN-Rev: 882
2000-03-02 01:29:15 +00:00
John Fitzpatrick
19848c7c2f Problem with creating the classes directory fixed
X-SVN-Rev: 881
2000-03-02 01:28:03 +00:00
John Fitzpatrick
db6605a3c1 No longer need to include decimal.jar and decimal1.jar in the
classpath.

X-SVN-Rev: 880
2000-03-02 01:04:42 +00:00
John Fitzpatrick
f0a452ef9d NumberFormat.java fell victim to ^Ms
X-SVN-Rev: 879
2000-03-02 01:01:04 +00:00
John Fitzpatrick
b8c5e71817 Change name of RuleBasedBreakIterator directory to rbbi
X-SVN-Rev: 878
2000-03-02 00:39:50 +00:00
John Fitzpatrick
6c04fa20a6 No longer include com.ibm.math.BigDecimal support
X-SVN-Rev: 877
2000-03-01 23:48:11 +00:00
John Fitzpatrick
27a4494f9e initial checkin
X-SVN-Rev: 876
2000-03-01 18:32:32 +00:00
John Fitzpatrick
08009dd620 Added calendar tests to make file
X-SVN-Rev: 875
2000-03-01 17:31:30 +00:00
John Fitzpatrick
1a5ff471ff Added code so FormatHelper didn't throw ClassCastExcepions.
It can get both the java.text and the com.ibm.text versions
of SimpleDateFormat but did not distinguish between the two.

X-SVN-Rev: 874
2000-03-01 17:31:17 +00:00
John Fitzpatrick
95cf4d48cb Fixed ClassCastExceptions. The code confused
java.text.SimpleDateFormat and com.ibm.text.SimpleDateFormat
and it caused casting problems.

X-SVN-Rev: 872
2000-03-01 17:25:22 +00:00
John Fitzpatrick
61fdf8bb2a Remove Chinese calendar
X-SVN-Rev: 871
2000-03-01 01:57:00 +00:00
John Fitzpatrick
be26231e9a Cleaned import statements
X-SVN-Rev: 870
2000-03-01 01:34:13 +00:00
John Fitzpatrick
737235ac01 Cleaned import statements
X-SVN-Rev: 869
2000-03-01 01:34:12 +00:00
John Fitzpatrick
bf42bd1572 Fixed bad package name in make file
X-SVN-Rev: 867
2000-02-29 19:51:41 +00:00
John Fitzpatrick
db6d551cda Fixed make file to correctly copy dictionary files. For some reason it
wasn't doing a proper symbol substitution and was grabbing files
from the classes/ directory instead of the /src directory

X-SVN-Rev: 863
2000-02-29 18:16:23 +00:00
Alan Liu
abb7947b06 Fix off by one error
X-SVN-Rev: 861
2000-02-29 01:19:02 +00:00
John Fitzpatrick
cbe883535b initial checkin
X-SVN-Rev: 860
2000-02-28 18:04:30 +00:00
John Fitzpatrick
a01bfa4832 Changed the default data file src/data/unicode/UnicodeData.txt
X-SVN-Rev: 859
2000-02-28 04:14:47 +00:00
John Fitzpatrick
ae768ebd30 Removed some debug print statements
X-SVN-Rev: 858
2000-02-28 04:11:56 +00:00
John Fitzpatrick
b51f59177a Cleaned up some of the imports
X-SVN-Rev: 857
2000-02-28 04:09:23 +00:00
John Fitzpatrick
4b4c8dbf6c Modified dictionary rules to always install dictionaries in the
com/ibm/text/resources directory.

X-SVN-Rev: 856
2000-02-28 04:07:52 +00:00
John Fitzpatrick
3df9f41d3e Added english dictionary file
X-SVN-Rev: 855
2000-02-28 04:04:49 +00:00
John Fitzpatrick
8b76b96b29 Needed for test
X-SVN-Rev: 854
2000-02-28 01:27:47 +00:00
John Fitzpatrick
5e2912446e Removed ChineseDateFormat stuff because the Chinese
calendar doesn't work.

X-SVN-Rev: 853
2000-02-28 01:10:41 +00:00
John Fitzpatrick
f2ab64247f Removed FooTest
X-SVN-Rev: 852
2000-02-28 01:03:14 +00:00
John Fitzpatrick
a70b0649f1 Removed xUtility.java
X-SVN-Rev: 851
2000-02-28 00:54:58 +00:00
John Fitzpatrick
ce5a19c69f initial checkin
X-SVN-Rev: 850
2000-02-28 00:47:29 +00:00
John Fitzpatrick
f9b3933cdc misc
X-SVN-Rev: 849
2000-02-27 06:24:34 +00:00
John Fitzpatrick
254a78e5c9 Fixed (cough) test failure
X-SVN-Rev: 848
2000-02-27 05:56:09 +00:00
John Fitzpatrick
0d93fe3f55 Corrected test failures
X-SVN-Rev: 847
2000-02-27 04:40:32 +00:00
John Fitzpatrick
ca2cd2be68 Test now defaults to using data in ../src/data/unicode/UnicodeData.txt
X-SVN-Rev: 846
2000-02-26 23:30:48 +00:00
John Fitzpatrick
545b377a6f Fixed bad test data in com.ibm.test.normalizer.BasicTest
X-SVN-Rev: 845
2000-02-26 23:19:25 +00:00
John Fitzpatrick
d484328e89 misc
X-SVN-Rev: 844
2000-02-26 22:01:44 +00:00
John Fitzpatrick
c22fde3d5a Added search directory
X-SVN-Rev: 843
2000-02-26 22:01:20 +00:00
John Fitzpatrick
1a9d04805e initial checkin
X-SVN-Rev: 842
2000-02-26 22:00:57 +00:00
John Fitzpatrick
4eea789464 regenerated from unicode 3.0 data
X-SVN-Rev: 841
2000-02-26 21:59:50 +00:00
John Fitzpatrick
f2fb87c0e6 Now provides a default location for the data file in
../src/data/unicode/UnicodeData.txt

X-SVN-Rev: 840
2000-02-26 21:56:55 +00:00
John Fitzpatrick
eb25a2e30f Fixed problem with building tools target
X-SVN-Rev: 839
2000-02-26 21:55:44 +00:00
Alan Liu
9fe00cdf0d Fix bug in call to UnicodeSet constructor for single char. ADD TEMPORARY DEBUGGING CODE.
X-SVN-Rev: 838
2000-02-26 02:22:15 +00:00
Alan Liu
ff5c0ac734 Improve error reporting
X-SVN-Rev: 837
2000-02-26 02:21:37 +00:00
John Fitzpatrick
6c1674a023 Fixed compile errors
X-SVN-Rev: 836
2000-02-26 00:47:20 +00:00
John Fitzpatrick
18b45a378b Fixed to use test framework
X-SVN-Rev: 835
2000-02-26 00:45:57 +00:00
John Fitzpatrick
2035894fe7 Removed Chinese Calendar classes
X-SVN-Rev: 834
2000-02-25 23:57:12 +00:00
John Fitzpatrick
9fbf06bfe8 Removed sizes.txt
X-SVN-Rev: 833
2000-02-25 23:27:48 +00:00
John Fitzpatrick
6201c76bf0 Fixed tests to use test framework
X-SVN-Rev: 832
2000-02-25 23:26:56 +00:00
John Fitzpatrick
3f95e1d4a8 Now recogniser methods starting with lower case "test"
X-SVN-Rev: 831
2000-02-25 18:57:12 +00:00
John Fitzpatrick
1a647959a3 Formatting cleanup
X-SVN-Rev: 827
2000-02-25 18:38:20 +00:00
John Fitzpatrick
cc1ee7cb9e initial checkin
X-SVN-Rev: 826
2000-02-25 18:27:21 +00:00
John Fitzpatrick
2f326b3916 cvs lost its mind and checked a new file in over this one from a different directory!
X-SVN-Rev: 825
2000-02-25 18:24:53 +00:00
John Fitzpatrick
2025e208d2 Added topleveltest
X-SVN-Rev: 824
2000-02-25 18:23:15 +00:00
Alan Liu
7cb08010aa Convert to latin-1 and use variables
X-SVN-Rev: 823
2000-02-24 21:21:29 +00:00
Alan Liu
451494f1dc Add infinite loop check
X-SVN-Rev: 822
2000-02-24 20:46:49 +00:00
Alan Liu
bb061b300b Fix bug in UnicodeSet
X-SVN-Rev: 821
2000-02-24 20:45:08 +00:00
Alan Liu
2800ce22df Fix package errors, add some help text
X-SVN-Rev: 820
2000-02-24 20:19:59 +00:00
Alan Liu
4ef8a6b32d Fix compile errors
X-SVN-Rev: 819
2000-02-24 20:11:11 +00:00
Alan Liu
9c1d93774c Fix whitespace - remove ^Ms
X-SVN-Rev: 818
2000-02-24 19:53:00 +00:00
Alan Liu
6978562bef Fix compilation errors
X-SVN-Rev: 817
2000-02-24 19:51:20 +00:00
Alan Liu
07b76ae6a3 Fix compilation warnings
X-SVN-Rev: 816
2000-02-24 19:42:39 +00:00
Alan Liu
e87b31606f Fix whitespace - remove blank lines between each line
X-SVN-Rev: 815
2000-02-24 19:41:53 +00:00
John Fitzpatrick
30f60bdef3 More build cleanup
X-SVN-Rev: 812
2000-02-23 22:54:42 +00:00
John Fitzpatrick
dc1d841366 More build cleanup
X-SVN-Rev: 811
2000-02-23 21:59:17 +00:00
John Fitzpatrick
3e6a4bffc6 Changed top level make file names
X-SVN-Rev: 810
2000-02-23 00:35:31 +00:00
John Fitzpatrick
d29ba1fc98 Changed a couple explicit calls to gnumake to $(MAKE)
X-SVN-Rev: 794
2000-02-18 18:50:33 +00:00
John Fitzpatrick
299b9f97b6 put $(MAKE) definition in defs.gmk
X-SVN-Rev: 793
2000-02-18 18:39:10 +00:00
John Fitzpatrick
f61a806057 make file stuff
X-SVN-Rev: 792
2000-02-18 18:18:29 +00:00
John Fitzpatrick
49f2784a30 no message
X-SVN-Rev: 791
2000-02-18 18:02:55 +00:00
John Fitzpatrick
485377d2bf Changed transliteration resource class names to use a _ instead
of a $ to make the make files cleaner

X-SVN-Rev: 790
2000-02-18 00:30:32 +00:00
John Fitzpatrick
862b0832b9 Fixed make files to work with gnumake
X-SVN-Rev: 789
2000-02-18 00:29:08 +00:00
John Fitzpatrick
8768599d96 no message
X-SVN-Rev: 788
2000-02-17 21:11:45 +00:00
John Fitzpatrick
65e847155d Modified make files for solaris
X-SVN-Rev: 787
2000-02-17 19:11:39 +00:00
John Fitzpatrick
f2b708efc0 no message
X-SVN-Rev: 784
2000-02-17 07:30:04 +00:00
John Fitzpatrick
9f5dd2fe95 *** empty log message ***
X-SVN-Rev: 783
2000-02-17 06:08:38 +00:00
John Fitzpatrick
aff9fb48f2 no message
X-SVN-Rev: 782
2000-02-17 05:57:54 +00:00
John Fitzpatrick
5bb0049322 no message
X-SVN-Rev: 781
2000-02-17 05:50:07 +00:00
John Fitzpatrick
94509f71bf no message
X-SVN-Rev: 780
2000-02-17 05:48:49 +00:00
John Fitzpatrick
7c2a17bde3 no message
X-SVN-Rev: 779
2000-02-17 05:34:07 +00:00
John Fitzpatrick
d3f6b00fd1 *** empty log message ***
X-SVN-Rev: 778
2000-02-17 05:14:59 +00:00
John Fitzpatrick
b43881fa19 makefile changes
X-SVN-Rev: 777
2000-02-16 23:40:09 +00:00
John Fitzpatrick
b748661137 initial checkin
X-SVN-Rev: 776
2000-02-16 23:23:18 +00:00
John Fitzpatrick
e0d232b679 Simplified "clean" target to simply blow away the
classes/com directory

X-SVN-Rev: 774
2000-02-16 19:43:59 +00:00
John Fitzpatrick
45dfd39c1b Added test, tools, and demos targets to make files
X-SVN-Rev: 773
2000-02-16 19:37:33 +00:00
John Fitzpatrick
84d51a3117 Javadoc compilation error fixes
X-SVN-Rev: 772
2000-02-16 19:04:32 +00:00
Richard Gillam
2b6da31922 Added lenient parsing rules to the German number-spellout rules
so that RBNF would correctly interpret spellings such as
"fuenfunddreissig".

X-SVN-Rev: 762
2000-02-15 21:09:23 +00:00
John Fitzpatrick
eb572f18f6 Added comments
X-SVN-Rev: 761
2000-02-15 18:19:29 +00:00
John Fitzpatrick
e2eaf8d338 fixed test imports and packages
X-SVN-Rev: 760
2000-02-15 06:17:08 +00:00
John Fitzpatrick
5fc1bacd0c fixed test imports and packages
X-SVN-Rev: 759
2000-02-15 06:14:16 +00:00
John Fitzpatrick
81ed01173b added copy constructor
X-SVN-Rev: 746
2000-02-10 07:38:01 +00:00
John Fitzpatrick
0f992456ae fixed imports for com.ibm.util.Utility
X-SVN-Rev: 745
2000-02-10 07:36:25 +00:00
John Fitzpatrick
cb78f28a45 added makefiles
X-SVN-Rev: 744
2000-02-10 07:30:38 +00:00
John Fitzpatrick
4857053b2e *** empty log message ***
X-SVN-Rev: 742
2000-02-10 06:25:58 +00:00
John Fitzpatrick
4fdf5c9631 moved conflicting local elements files
X-SVN-Rev: 729
2000-02-08 06:45:26 +00:00
Alan Liu
957ec2d172 Use array rather than hashtable for char-to-set map
X-SVN-Rev: 713
2000-02-03 18:18:42 +00:00
Alan Liu
8e5a1219ba Use array rather than hashtable for char-to-set map
X-SVN-Rev: 712
2000-02-03 18:11:19 +00:00
Alan Liu
d09a5e4c0f Make UnicodeSet use SymbolTable
X-SVN-Rev: 711
2000-02-03 18:10:05 +00:00
Alan Liu
99fbdb93cd Move filter composition to setFilter()
X-SVN-Rev: 704
2000-01-27 20:12:14 +00:00
Alan Liu
19823fde42 Use Position rather than int[] and move all subclass overrides to one method (handleTransliterate)
X-SVN-Rev: 701
2000-01-27 18:59:20 +00:00
Alan Liu
920e879c4a Update test for new API
X-SVN-Rev: 700
2000-01-27 18:58:35 +00:00
Alan Liu
d48f0ee5e4 Fix javadoc
X-SVN-Rev: 641
2000-01-18 21:39:27 +00:00
Alan Liu
2682a99ebd Add tests for reported bugs
X-SVN-Rev: 640
2000-01-18 21:16:08 +00:00
Alan Liu
dd2712bf8b Rule fixes from Mark
X-SVN-Rev: 639
2000-01-18 20:46:58 +00:00
Alan Liu
5b8beeea65 Make UnicodeSet inherit from UnicodeFilter
X-SVN-Rev: 638
2000-01-18 20:36:30 +00:00
Alan Liu
5aa450ea30 Remove "keyboard" from method names. New CompoundTransliterator API.
X-SVN-Rev: 632
2000-01-18 19:18:37 +00:00
Alan Liu
062bdf69f0 Incorporate Mark's bug fixes.
X-SVN-Rev: 631
2000-01-18 19:17:21 +00:00
Alan Liu
d05b919e89 Remove "keyboard" from method names. New CompoundTransliterator API.
X-SVN-Rev: 628
2000-01-18 17:51:30 +00:00
Alan Liu
e1488bd974 Remove "keyboard" from method names. Make maximum context a field of Transliterator, and have subclasses set it.
X-SVN-Rev: 627
2000-01-18 17:51:09 +00:00
Alan Liu
4691f5c2a0 Fix filtering bug.
X-SVN-Rev: 625
2000-01-18 02:38:55 +00:00
Alan Liu
16730bea73 Add Jamo-Hangul, Hangul-Jamo, fix rules, add compound ID support
X-SVN-Rev: 622
2000-01-18 02:30:49 +00:00
Alan Liu
fb7313675a Fix bugs found during ICU port
X-SVN-Rev: 575
2000-01-13 23:53:23 +00:00
Alan Liu
ad0bdc2769 Update package
X-SVN-Rev: 525
2000-01-11 04:15:27 +00:00
Alan Liu
e8dba569b7 Cleanup, embellish comments
X-SVN-Rev: 524
2000-01-11 04:12:06 +00:00
Alan Liu
91bbad91cf Cleanup, embellish comments
X-SVN-Rev: 523
2000-01-11 04:03:54 +00:00
Alan Liu
8d57838cc5 Add some tests for new syntax
X-SVN-Rev: 522
2000-01-11 02:35:07 +00:00
Alan Liu
e8241fdc61 Update tests for new rule syntax; add quoting test
X-SVN-Rev: 521
2000-01-11 02:25:47 +00:00
Alan Liu
8c85f4c5a4 Add category test
X-SVN-Rev: 520
2000-01-11 02:25:14 +00:00
Alan Liu
572e9063c0 Rewrite UnicodeSet and RBT parsers for better performance and new syntax
X-SVN-Rev: 519
2000-01-11 02:25:03 +00:00
Alan Liu
de9589cdcb Update rules to new rule syntax (parens delimit context)
X-SVN-Rev: 518
2000-01-11 02:24:15 +00:00
Alan Liu
471a29ebeb Add Mark's Jamo rules, with compile errors fixed
X-SVN-Rev: 517
2000-01-11 02:23:17 +00:00
Alan Liu
697ee8afba Add null transliterator
X-SVN-Rev: 491
2000-01-06 17:38:25 +00:00
Alan Liu
a55e26abb1 Update to Mark's latest rules
X-SVN-Rev: 490
2000-01-06 03:00:51 +00:00
Alan Liu
abfccede27 Allow string arrays in rule resource bundles
X-SVN-Rev: 489
2000-01-06 01:36:36 +00:00
Alan Liu
8f00680b7b Add rule indexing, and move masking check to TransliterationRuleSet.
X-SVN-Rev: 486
2000-01-04 21:43:58 +00:00
Alan Liu
eafcfb09c4 Consolidate rule pattern anteContext, key, and postContext into one string.
X-SVN-Rev: 456
1999-12-22 01:40:54 +00:00
Alan Liu
78c974e7ba Improve masking checking; turn it off by default, for better performance
X-SVN-Rev: 455
1999-12-22 01:05:54 +00:00
Alan Liu
96844ec160 Comment out masked rules
X-SVN-Rev: 454
1999-12-22 01:05:17 +00:00
Alan Liu
93e0f7129c Detect a>x masking a>y
X-SVN-Rev: 453
1999-12-22 00:01:36 +00:00
Alan Liu
c5b076cbfc Updated to Mark Davis' new rules
X-SVN-Rev: 452
1999-12-21 23:11:26 +00:00
Alan Liu
8623cf04e2 Updated to Mark Davis' new rules
X-SVN-Rev: 451
1999-12-21 23:02:36 +00:00
Alan Liu
6edcd7320e Use registerClass on hex tranlits
X-SVN-Rev: 450
1999-12-20 20:51:47 +00:00
Alan Liu
7982010620 Fix display names
X-SVN-Rev: 449
1999-12-20 20:48:06 +00:00
Alan Liu
e78b52c1ee Add fwd-rev rule syntax a<>b
X-SVN-Rev: 448
1999-12-20 20:25:00 +00:00
Alan Liu
a529ecb267 Change name from Latin-Russian to Latin-Cyrillic
X-SVN-Rev: 447
1999-12-20 20:22:52 +00:00
Alan Liu
e5a684eb67 Delimit rules with ';'
X-SVN-Rev: 446
1999-12-20 19:13:41 +00:00
Alan Liu
9becd90a06 Change package, delimit rules with ';'
X-SVN-Rev: 445
1999-12-20 19:12:59 +00:00
Alan Liu
245859848a Change package
X-SVN-Rev: 444
1999-12-20 19:12:47 +00:00
Alan Liu
110ad9d584 Delimit script names in class name with $
X-SVN-Rev: 443
1999-12-20 19:02:27 +00:00
Alan Liu
e4562a1b42 Delimit script names in class name with $
X-SVN-Rev: 442
1999-12-20 18:51:40 +00:00
Alan Liu
42035450ff Initial revision
X-SVN-Rev: 437
1999-12-20 18:29:21 +00:00