-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathChangeLog
2428 lines (1585 loc) · 83.5 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2011-11-05 Theppitak Karoonboonyanan <[email protected]>
* configure.in, NEWS:
=== Version 0.1.16 ===
2011-11-05 Theppitak Karoonboonyanan <[email protected]>
* configure.in:
- Remove remaining '$Id'.
- Remove unnecessary AC_SUBST(VERSION).
2011-11-05 Theppitak Karoonboonyanan <[email protected]>
* -TODO: Removed, the plan is obsolete.
2011-11-05 Theppitak Karoonboonyanan <[email protected]>
* README: Update project URL & e-mail.
* configure.in: Use googlegroups as bug report address.
2011-11-05 Theppitak Karoonboonyanan <[email protected]>
* configure.in: Add bug report address.
2011-11-05 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-history.txt:
* data/tdict-proper.txt:
* data/tdict-spell.txt:
* data/tdict-common.txt: Add words.
* data/tdict-country.txt: Use more popular short name for Saudi Arabia.
2011-10-25 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-common.txt, data/tdict-city.txt: "ไดฟุกุ" is city name.
2011-10-25 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-science.txt:
* data/tdict-common.txt: Add words.
2011-09-03 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-proper.txt:
* data/tdict-common.txt: Add words.
* data/tdict-std.txt: Remove "มาย" which is rare but can potentially
cause ambiguity (e.g. "มายกร่าง"). A valid compound, "เมามาย" is
already in tdict-std-compound.txt.
2011-07-19 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-proper.txt:
* data/tdict-science.txt:
* data/tdict-geo.txt:
* data/tdict-ict.txt:
* data/tdict-common.txt: Add words.
* data/tdict-std-compound.txt: Remove loose compound.
* data/tdict-std.txt:
- Remove rare words which potentially cause ambiguities.
- Remove a duplicated entry.
2011-06-08 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-proper.txt:
* data/tdict-city.txt:
* data/tdict-science.txt:
* data/tdict-geo.txt:
* data/tdict-ict.txt:
* data/tdict-spell.txt:
* data/tdict-common.txt:
* data/tdict-lang-ethnic.txt: Add words.
2011-06-08 Theppitak Karoonboonyanan <[email protected]>
* configure.in: Post-release version suffix added.
2011-03-24 Theppitak Karoonboonyanan <[email protected]>
* configure.in, NEWS:
=== Version 0.1.15 ===
2011-03-24 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-history.txt:
* data/tdict-proper.txt:
* data/tdict-city.txt:
* data/tdict-science.txt:
* data/tdict-spell.txt:
* data/tdict-district.txt:
* data/tdict-common.txt: Add words.
2011-03-22 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-proper.txt:
* data/tdict-science.txt:
* data/tdict-spell.txt:
* data/tdict-district.txt:
* data/tdict-common.txt: Add words.
2011-03-22 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-history.txt:
* data/tdict-proper.txt:
* data/tdict-district.txt:
Move 2 names from proper, district to history.
* data/tdict-proper.txt:
* data/tdict-city.txt:
* data/tdict-district.txt:
* data/tdict-common.txt: Add words.
2011-03-20 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-district.txt:
* data/tdict-history.txt:
Move "หริภุญชัย" from district to history list.
* data/tdict-city.txt:
Change "ฟูกุโอกะ" to "ฟูกูโอกะ", which is statistically more popular.
* data/tdict-history.txt:
* data/tdict-proper.txt:
* data/tdict-city.txt:
* data/tdict-science.txt:
* data/tdict-geo.txt:
* data/tdict-spell.txt:
* data/tdict-common.txt:
Add words.
2011-03-15 Theppitak Karoonboonyanan <[email protected]>
Split historical names out of tdict-city.txt and tdict-district.txt.
* data/Makefile.am:
* +data/tdict-history.txt:
* data/tdict-city.txt:
* data/tdict-district.txt:
Split historical names into tdict-history.txt.
* data/tdict-city.txt:
* data/tdict-geo.txt:
* data/tdict-lang-ethnic.txt:
Move 2 names from tdict-city.txt to tdict-geo.txt and
tdict-lang-ethnic.txt.
2011-03-15 Theppitak Karoonboonyanan <[email protected]>
Split tdict-country.txt and tdict-city.txt out of tdict-geo.txt
and let tdict-geo.txt keeps only geographical names.
* data/Makefile.am:
* +data/tdict-country.txt:
* +data/tdict-city.txt:
* data/tdict-geo.txt:
- Split country names into tdict-country.txt
- Split city names into tdict-city.txt
* data/tdict-geo.txt:
* data/tdict-lang-ethnic.txt:
- Split language/etchnic names into tdict-lang-ethnic.txt
2011-03-15 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-proper.txt:
* data/tdict-common.txt:
* data/tdict-geo.txt: Add words.
2011-03-14 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-spell.txt:
* data/tdict-proper.txt:
* data/tdict-common.txt:
* data/tdict-geo.txt: Add words.
2011-03-09 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-ict.txt:
* data/tdict-district.txt:
* data/tdict-common.txt:
* data/tdict-science.txt: Add words.
2010-12-27 Theppitak Karoonboonyanan <[email protected]>
Adjust dictionary, as per Widhaya's feedback:
http://groups.google.com/group/thai-linux-foss-devel/browse_thread/
thread/986f74d786c9bace
* data/tdict-std-compound.txt:
* data/tdict-std-common.txt:
- Remove some compounds that may cause potential ambiguities.
* data/tdict-spell.txt:
* data/tdict-common.txt:
- Add words.
2010-12-23 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{common,geo}.txt: Add words.
2010-05-17 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{district,common,science}.txt: Add words.
2010-03-14 Theppitak Karoonboonyanan <[email protected]>
* configure.in: Post-release version suffix added.
Turn off manpages generation
* doc/Doxyfile.in: Turn GENERATE_MAN off.
* doc/Makefile.am: Remove man targets.
2010-02-28 Theppitak Karoonboonyanan <[email protected]>
* configure.in: Bump library revision.
* configure.in, NEWS:
=== Version 0.1.14 ===
2010-02-28 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{ict,proper,common}.txt: Add words.
2010-02-28 Theppitak Karoonboonyanan <[email protected]>
* src/thcoll/cweight.c (char_weight_tbl_): Replace TIS-620 characters
in comments with character names.
* src/thctype/thctype.c (_th_ctype_tbl, _th_chlevel_tbl): Remove
non-TIS-620 characters from comments. Convert source to UTF-8.
2010-02-27 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_get_dict): Limit path[] scope.
2010-02-27 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_get_dict): Print some warning when
dictionary opening fails.
2010-02-27 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_get_dict): Do not try to open dictionary
again if once tried. Multiple failing trials degraded performance.
2010-02-25 Theppitak Karoonboonyanan <[email protected]>
* include/thai/*.h, src/*.c, src/*/*.c: Add my e-mail address to
license header as the contact address.
* src/thctype/wtt.c,
* src/thctype/thctype.c,
* src/thcoll/cweight.h,
* src/thcoll/cweight.c,
* src/thwctype/thwctype.c:
Add editor modeline.
2010-02-24 Theppitak Karoonboonyanan <[email protected]>
* src/thinp/thinp.c,
* src/thrend/thrend.c,
* src/thcoll/thcoll.c,
* src/thcoll/cweight.c,
* src/thwstr/thwstr.c,
* src/thwchar/thwchar.c,
* src/thwbrk/thwbrk.c,
* src/thstr/thstr.c,
* src/thcell/thcell.c:
Reformat source. Add editor modeline.
2010-02-24 Theppitak Karoonboonyanan <[email protected]>
* tests/thsort.c: Yet another GPL header leftover removal.
Update my e-mail address.
2010-02-24 Theppitak Karoonboonyanan <[email protected]>
Replace <thai/tis.h> with a rewritten one, so we can enforce the
license.
* include/thai/tis.h:
Rewritten based on Unicode names, with TIS_ prefix.
* src/thinp/thinp.c (corrections, th_validate),
* src/thrend/thrend.c (shiftdown_tone_ad, shiftdownleft_tone_ad,
shiftleft_tone_ad, shiftdown_bv_bd, tailcutcons, th_render_cell_,
th_render_cell_tis),
* src/thbrk/brk-maximal.c (th_brkpos_hints),
* src/thcell/thcell.c (th_next_cell, th_prev_cell),
* tests/test_thcell.c (test_ans_nodecomp_am, test_ans_decomp_am):
Update character names to the new TIS_* ones.
2010-02-24 Theppitak Karoonboonyanan <[email protected]>
* include/thai/*.h, src/*.c, src/*/*.c,
* Makefile.am, include/Makefile.am, include/thai/Makefile.am,
* src/Makefile.am, src/*/Makefile.am,
* tests/*.c, tests/*.sh,
* tests/Makefile.am,
* data/Makefile.am,
* man/template.3, man/man3/*.3,
* man/Makefile.am, man/man3/Makefile.am:
Remove CVS $Id in all files.
* src/thctype/wtt.c: Fix file name in comment.
2010-02-24 Theppitak Karoonboonyanan <[email protected]>
* include/thai/*.h, src/*.c, src/*/*.c: Add license header to every
source file.
2010-02-23 Theppitak Karoonboonyanan <[email protected]>
* doc/Makefile.am: The added *.c dependencies must be from src/*/*.c,
not include/thai/*.c. Silly copy-and-paste error.
2010-02-23 Theppitak Karoonboonyanan <[email protected]>
* doc/Makefile.am: Add *.c to doxygen.stamp dependency, as the doc
comments have been moved there.
2010-02-17 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_root_pool): Fail if brk_get_dict()
returns NULL.
2010-02-17 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{ict,proper,common,science}.txt: Add words.
2010-01-30 Theppitak Karoonboonyanan <[email protected]>
* src/thcoll/cweight.c, src/thcoll/cweight.h, src/thcoll/thcoll.c:
Remove GPL header left over. The library is LGPL.
2010-01-25 Theppitak Karoonboonyanan <[email protected]>
* src/brk-maximal.c (brk_root_pool): Fail if brk_pool_node_new()
returns NULL.
* src/brk-maximal.c (brk_maximal_do_impl): Fail if best_brk_new()
returns NULL.
2010-01-25 Theppitak Karoonboonyanan <[email protected]>
* configure.in: Post-release version suffix added.
2010-01-15 Theppitak Karoonboonyanan <[email protected]>
* configure.in: Bump library revision.
* configure.in, NEWS:
=== Version 0.1.13 ===
2010-01-15 Theppitak Karoonboonyanan <[email protected]>
* configure.in: Add 'AC_CONFIG_MACRO_DIR([m4])' for the new libtool.
2010-01-15 Theppitak Karoonboonyanan <[email protected]>
* src/thwchar/thwchar.c (th_tis2uni_line, th_uni2tis_line):
Fix type of 'result' argument to match that in header file, so
doxygen recognizes and generates doc for it.
2010-01-15 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{proper,common}.txt: Add words.
2010-01-14 Theppitak Karoonboonyanan <[email protected]>
* include/thai/thctype.h, src/thctype/thctype.c: Replace non-portable
isascii() with most-significant bit check.
2010-01-14 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{common,geo}.txt: Add words.
2010-01-14 Theppitak Karoonboonyanan <[email protected]>
* include/thai/thailib.h, src/libthai.c: Move more doc comments.
2010-01-09 Theppitak Karoonboonyanan <[email protected]>
Move documentation from *.h to *.c, so libthai developers have the doc
at hand. Users can still read the doxygen-generated doc BTW.
* include/thai/*.h, src/*/*.c: Move doc comments from *.h to *.c.
* doc/Doxyfile.in: Set INPUT to @top_srcdir@.
2010-01-08 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{proper,common,geo}.txt: Add words.
2010-01-08 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_shot_init):
Return failure/success status.
* src/thbrk/brk-maximal.c (brk_pool_node_new):
Check & handle return code from brk_shot_init().
2010-01-08 Theppitak Karoonboonyanan <[email protected]>
* src/thwbrk/thwbrk.c (th_wbrk, th_wbrk_line):
Rewritten, for harmony with the rests of the source, plus potential
integer overflow vulnerability removed.
2010-01-08 Theppitak Karoonboonyanan <[email protected]>
Fix potential integer overflow vulnerabilities.
Thanks Tim Starling <[email protected]> for pointing out.
* src/thbrk/thbrk.c (th_brk_line): Return zero if malloc size overflows
or malloc fails.
* src/thbrk/brk-maximal.c (best_brk_new): Return NULL if malloc size
overflows.
2009-08-22 Theppitak Karoonboonyanan <[email protected]>
* configure.in: Post-release version suffix added.
* data/tdict-std-compound.txt: Remove loose compounds.
* data/tdict-{ict,district,proper,common,science,lang-ethnic,geo}.txt:
Add words.
2009-06-18 Theppitak Karoonboonyanan <[email protected]>
* configure.in: Bump library revision.
* configure.in, NEWS:
=== Version 0.1.12 ===
2009-06-18 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std-compound.txt: Remove loose compounds.
2009-06-18 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std-compound.txt: Remove loose compounds.
* data/tdict-{ict,district,proper,common,science,geo}.txt: Add words.
2009-06-17 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_maximal_do_impl, best_brk_contest):
Back out weighted scoring for solution contest, as it sometimes tries
too hard to minimize word count, even though another solution with more
known words can match more text and results in smaller unknown zone.
Accidental words problem, which this scheme tried to address, has
already been alleviated with increased recovery threshold.
2009-06-17 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_maximal_do_impl): Add break pos at
string end and let it enter the contest, instead of backing it out by
moving back str_pos as done in previous commit. That commit just
missed the point. Doing the right thing also guarantees consistency
with the case when some text of valid words is appended to the string.
2009-06-17 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_maximal_do_impl): Set str_pos for cases
that fail at string end back to the last progress position, to prevent
it from wrongly winning the contest over some good candidates.
2009-06-17 Theppitak Karoonboonyanan <[email protected]>
* src/tkbrk/brk-maximal.c (RECOVERED_WORDS): Increase recovery
threshold, 2 is too few and can trigger wrong recovery position too
easily.
2009-06-15 Theppitak Karoonboonyanan <[email protected]>
* data/Makefile.am, +data/tdict-lang-ethnic.txt: Add a new category.
* data/tdict-{common,geo}.txt, data/tdict-lang-ethnic.txt:
Move some words to the new category.
* data/tdict-{lang-ethnic,ict,spell,proper,common,science,geo}.txt:
Add words.
* data/tdict-std.txt: Remove a duplicated compound.
2009-06-13 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (best_brk_contest): Compare penalties with
'<=' like in previous code, instead of '<', to retain longest-matching
effect in case of equal scores.
2009-06-10 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std-compound.txt: Remove loose compounds.
* data/tdict-{common,proper}.txt: Move a proper noun to tdict-proper.
* data/tdict-{ict,spell,district,proper,common,science,geo}.txt:
Add words.
2009-06-10 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_maximal_do_impl, best_brk_contest):
Use weighted scoring, rather than parameters prioritization, to choose
better solution.
2009-06-10 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_maximal_do_impl): When recovering from
error, try to recover from the position next to the last break,
rather than right at the crash position. We care the input string,
not what it's being partially matched against.
2009-06-10 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_recover): When checking a character in
text, brk pos returned from brk_recover_try() are relative to
'text + p', not 'text'.
2009-06-10 Theppitak Karoonboonyanan <[email protected]>
Split normal word break and recovery routines apart.
* src/thbrk/brk-maximal.c (brk_maximal_do_impl, +brk_recover_try):
- Split brk_maximal_do_impl() into itself with (do_recover == 1) and
brk_recover_try() with (do_recover == 0), for logic simplification.
- Strip unnecessary tasks like best break contests and penalties from
brk_recover_try(). All it needs is existence of a solution,
regardless of its quality.
- Use memcpy() to copy brk pos arrays instead of for loop.
* src/thbrk/brk-maximal.c (brk_maximal_do, brk_recover):
- Adjust calls to brk_maximal_do_impl() and brk_recover_try()
according to the changed prototypes.
2009-06-10 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_maximal_do_impl): Add one missing change
for last commit.
2009-06-10 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_maximal_do_impl): Update 'shot' after
'node' is changed, instead of referencing through the possibly new
'node' value, for code readability.
2009-06-10 Theppitak Karoonboonyanan <[email protected]>
Beautify code.
* src/thbrk/brk-maximal.c (th_brkpos_hints): Adjust indents.
* src/thbrk/brk-maximal.c (brk_recover): Adjust brackets.
2009-06-10 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (th_brkpos_hints): Add check for cases like
'เฉพาะ'.
2009-06-07 Theppitak Karoonboonyanan <[email protected]>
* configure.in: Remove obsolete Win32 checking stuffs.
2009-06-07 Theppitak Karoonboonyanan <[email protected]>
Add symbol versioning.
* configure.in: Check for -version-script support in linker.
* +src/libthai.map: Add symbol map.
* src/Makefile.am:
- Conditionally supply -version-script, if supported, or
-export-symbols otherwise, to linker.
- Conditionally specify libthai.map or libthai.def as libthai.la
dependency, according to corresponding linker option applied.
- Include libthai.map in EXTRA_DISTS.
2009-06-05 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (th_brkpos_hints):
Fix comment style to C, not C++.
2009-06-05 Theppitak Karoonboonyanan <[email protected]>
Fix wrong case of syllable like 'ช็อก'.
* src/thbrk/brk-maximal.c (th_brkpos_hints):
- The case of SARA E/AE with next third character as MAITAIKHU should
not apply when the MAITAIKHU is followed by O ANG or WO WAEN.
That's a signature of new syllable, such as 'ช็อก'.
- Add the case of syllable like 'ช็อก' or 'ช็วก'.
2009-06-05 Theppitak Karoonboonyanan <[email protected]>
Refactor so brk hints is prepared only once per brk_maximal_do() call.
* src/thbrk/brk-maximal.c (brk_maximal_do, +brk_maximal_do_impl):
Split implementation code into _impl() function, and let the
original brk_maximal_do() be a wrapper doing necessary preparations.
* src/thbrk/brk-maximal.c (brk_recover):
Call brk_maximal_do_impl() instead of brk_maximal_do(), passing the
appropriate brk hints subarray to it.
* src/thbrk/brk-maximal.{c,h} (brk_maximal_do):
* src/thbrk/thbrk.c (th_brk):
Drop the do_recover arg from brk_maximal_do(), as it's now a wrapper
which can seed initial condition for the mutual recursion.
* src/thbrk/brk-maximal.c (th_brkpos_hints): Add prototype.
2009-06-04 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (th_isleadable -> th_brkpos_hints):
- Turn simple leadable check into a pre-processed break position
hinting. Instead of doing the complicated checks on every loop,
now the clients just check the prepared boolean array.
- Add more complicated cases, such as Thai composite vowels.
* src/thbrk/brk-maximal.c (brk_recover):
- Change prototype to accept brk pos hints, so it doesn't need to be
recalculated.
- Drop additional checks of preceeding ldvowel, as it's already
covered by the brk pos hints.
* src/thbrk/brk-maximal.c (brk_maximal_do):
- Pre-calculate brk pos hints on entry, and free it on exit.
- Check the hints instead of calling the obsolete th_isleadable().
- Pass the hints to brk_recover().
2009-06-03 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{ict,proper,common,science,geo}.txt: Add words.
2009-05-27 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{std-compound,common}.txt: Remove some loose compounds.
* data/tdict-common.txt: Reorder some words.
* data/tdict-{ict,proper,common,science,geo}.txt: Add words.
2009-05-24 Theppitak Karoonboonyanan <[email protected]>
* src/Makefile.am: Refactor and add sublibs to libthai.la dependencies,
so the final library gets rebuilt when its sub-libraries are changed.
2009-05-22 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (th_isleadable): Consonant following
MAITAIKHU is not always unleadable, such as after "ก็". So, drop the
case.
2009-05-18 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (th_isleadable): Also check for certain
vowels like MAITAIKHU, MAIHUNAKAT, SARA UEE in previous cell for
non-leadable consonants.
* src/thbrk/brk-maximal.c (brk_maximal_do, brk_recover): Adjust
th_isleadable() calls according to prototype change.
2009-05-16 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (th_isleadable): Prohibit consonants with
THANTHAKHAT from being leadable.
* src/thbrk/brk-maximal.c (brk_maximal_do, brk_recover): Adjust
th_isleadable() calls according to prototype change.
2009-05-15 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{ict,proper,common,science,geo}.txt: Add words.
2009-05-13 Theppitak Karoonboonyanan <[email protected]>
* data/Makefile.am, data/tdict-*.txt: Convert wordlists from TIS-620
to UTF-8, for easy management with modern tools.
2009-05-13 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std-compound.txt: Remove some loose compounds.
* data/tdict-{ict,spell,district,proper,common,science,geo}.txt:
Add words.
2009-05-07 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{ict,district,proper,common,science,geo}.txt: Add words.
* data/tdict-proper.txt: Sort some words properly.
2009-04-29 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{ict,proper,common,science,geo}.txt: Add words.
2009-04-22 Theppitak Karoonboonyanan <[email protected]>
* configure.in: Post-release version prefix added.
* data/tdict-{ict,district,proper,common,geo}.txt: Add words.
* data/tdict-{common,collection}.txt: Move some collection of words
to appropriate category.
2009-04-06 Theppitak Karoonboonyanan <[email protected]>
* configure.in: Bump library revision.
* configure.in, NEWS:
=== Version 0.1.11 ===
2009-04-05 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{ict,district,proper,common,science,geo}.txt: Add words.
2009-03-31 Theppitak Karoonboonyanan <[email protected]>
* configure.in: Post-release version suffix added.
* libthai.pc.in: Require datrie-0.2 privately, to avoid exposing it
unnecessarily to applications. This had even caused upgrading problem
when libdatrie with different soname versions are loaded
simultaneously, one from the application, and the other from libthai.
And with libdatrie poor symbols handling, this had caused name clash.
Thanks Loic Minier for pointing out the cause.
2009-03-30 Theppitak Karoonboonyanan <[email protected]>
* libthai.pc.in: Requires datrie-0.2 instead of datrie.
* configure.in: Bump library revision.
* configure.in, NEWS:
=== Version 0.1.10 ===
2009-03-30 Theppitak Karoonboonyanan <[email protected]>
* tdict-{common,district,ict,proper}.txt: Add words.
* tdict-std.txt: Remove 2 potentially ambiguous words.
2009-03-30 Theppitak Karoonboonyanan <[email protected]>
* tdict-{district,proper,common,geo}.txt: Add words.
* tdict-collection.txt: Add another variant of "x" transcription.
2009-03-20 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std-compound.txt: Removed potentially ambiguous word.
* data/tdict-{ict,district,science}.txt: Add words.
2009-03-12 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{common,geo,ict,spell}.txt: Add words. Move word from
-common to -spell as appropriate.
2009-01-21 Theppitak Karoonboonyanan <[email protected]>
First SVN commit.
* data/tdict-{common,geo}.txt: Add words.
2009-01-08 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-common.txt, data/tdict-proper.txt:
Move more proper nouns from tdict-common.
* data/tdict-{collection,common,district,geo,ict,proper,science,
spell}.txt: Add words.
2008-12-28 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_get_dict):
Move comment to proper place.
2008-12-28 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_get_dict):
Adjust code so that brk_dict is not checked twice for normal cases.
2008-12-28 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_maxmimal_do):
Call trie_state_is_single() instead of trie_state_is_leaf() when a
state is known to be terminal, eliminating redundant check.
(Requires libdatrie >= 0.1.99.2+cvs20081228)
2008-12-27 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c
(brk_shot_init, brk_shot_reuse, best_brk_contest):
Use memcpy() to copy arrays, rather than iteration via array index.
Yet another minor performance improvement.
* src/thbrk/brk-maximal.c (brk_shot_reuse):
Re-allocate 'brk_pos' array only when growing, and never bother
shrinking it.
2008-12-26 Theppitak Karoonboonyanan <[email protected]>
Reuse break pool nodes more deeply, improving performance a little bit.
(Requires libdatrie >= 0.1.99.2+cvs20081226)
* src/thbrk/brk-maximal.c
(brk_shot_copy -> brk_shot_init, +brk_shot_reuse):
Split brk_shot_copy() into brk_shot_init() and brk_shot_reuse().
The former is for newly created nodes, while the latter is for
reusing old nodes, with memory reallocation minimized.
* src/thbrk/brk-maximal.c (brk_pool_node_new):
Separately call brk_shot_init() and brk_shot_reuse() per case.
* src/thbrk/brk-maximal.c (brk_pool_free):
Do not destruct BrkShot member. Keep it for further reuses.
* src/thbrk/brk-maximal.c (brk_pool_allocator_clear):
..And actually destruct it here.
* src/thbrk/brk-maximal.c (brk_root_pool):
Save one malloc() call for temporary 'root_shot'.
2008-12-26 Theppitak Karoonboonyanan <[email protected]>
* src/thbrk/brk-maximal.c (brk_pool_get_node, brk_maximal_do):
Get rid of unused arg 's' for brk_pool_get_node().
2008-12-26 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-ict.txt: Add words.
2008-12-23 Theppitak Karoonboonyanan <[email protected]>
Add housekeeping routine to clean up dictionary.
* src/Makefile.am, src/dummy.c -> libthai.c, src/libthai.def:
Add destructor function in .fini section, to be called on library
unload.
* src/thbrk/Makefile.am, +src/thbrk/thbrk-private.h, src/thbrk/thbrk.c
(thbrk_on_unload):
Add on-unload function for thbrk module.
* src/thbrk/brk-maximal.h, src/thbrk/brk-maximal.c
(brk_get_dict, brk_maximal_on_unload):
- Move 'brk_dict' static var from function to file scope
- Add on-unload function to clean up dictionary
2008-12-23 Theppitak Karoonboonyanan <[email protected]>
* src/brk-maximal.c (brk_maximal_do): Adjust if-block a little bit.
2008-12-23 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{geo,ict}.txt: Add words.
2008-12-17 Theppitak Karoonboonyanan <[email protected]>
* data/Makefile.am, +data/tdict-proper.txt, data/tdict-common.txt:
Split proper nouns from tdict-common.txt into a new list.
* data/tdict-{common,proper}.txt: Add words
2008-12-16 Theppitak Karoonboonyanan <[email protected]>
* data/Makefile.am: No need to install 'thbrk.abm' any more.
2008-12-15 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-{common,geo,ict}.txt: Add words.
2008-12-15 Theppitak Karoonboonyanan <[email protected]>
Switch to libdatrie 0.2. (Requires libdatrie >= 0.1.99.2)
* configure.in:
- Check for 'trietool-0.2' binary instead of 'trietool'
- Check for 'datrie-0.2' pkg-config instead of 'datrie'
* src/thbrk/brk-maximal.c:
- Replace 'SBTrie' with 'Trie'
- Replace 'SBTrieState' with 'TrieState'
- Replace 'sb_trie_*' function calls with corresponding 'trie_*'
- For 'sb_trie_state_walk()', also convert TIS-620 char to UCS-4
before actually walking
- For 'sb_trie_open()', replace with 'trie_new_from_file()', plus
dir + path combined
* data/Makefile.am:
- Replace '*.br' and '*.tl' targets with '*.tri'
- Add '-e tis-620' command-line argument to trietool
* data/Makefile.am, data/thbrk.sbm -> data/thbrk.abm:
- Replace 'thbrk.sbm' (TIS-620) with 'thbrk.abm' (Unicode)
* tests/Makefile.am:
- Add 'libthwchar.la' where 'libthbrk.la' is used, as th_tis2uni()
is required there
2008-06-24 Theppitak Karoonboonyanan <[email protected]>
* configure.in, Makefile.am: Add --disable-dict option to prevent
dictionary data generation.
2007-10-18 Theppitak Karoonboonyanan <[email protected]>
* include/thai/thctype.h:
* src/thcell/thcell.c:
* src/thcoll/cweight.c:
* src/thcoll/cweight.h:
* src/thcoll/thcoll.c:
* src/thctype/thctype.c:
* src/thctype/wtt.c:
* src/thinp/thinp.c:
* src/thrend/thrend.c:
* src/thstr/thstr.c:
* src/thwchar/thwchar.c:
* src/thwstr/thwstr.c: Update my e-mail address.
2007-10-17 Theppitak Karoonboonyanan <[email protected]>
* src/libthai.def: List only symbols in plain format, for Mac build.
Thanks Vee Satayamas for the report.
* src/Makefile.am: Add libthai.def as libthai_la_DEPENDENCIES.
2007-08-28 Theppitak Karoonboonyanan <[email protected]>
* NEWS:
=== Version 0.1.9 ===
2007-08-28 Theppitak Karoonboonyanan <[email protected]>
* tests/test_thbrk.c (main), tests/test_thwbrk.c (main): Update check
values, according to the new compound words support.
2007-08-28 Theppitak Karoonboonyanan <[email protected]>
* doc/Doxyfile.in: Update for doxygen 1.5.3.
2007-08-22 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (O Ang - Ho Nokhuk)
* data/tdict-{common,spell}.txt: Add words.
2007-08-15 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (Ho Hip)
* data/tdict-{common,geo}.txt: Add words.
2007-08-07 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (So Sua)
* data/tdict-{common,district,geo,spell}.txt: Add words.
2007-07-20 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (Wo Waen - So Rusi)
* data/tdict-{common,ict,scicence,spell}.txt: Add words.
2007-07-12 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (Ro Rua - Lu)
* data/tdict-{common,science}.txt: Add words.
* data/tdict-district.txt: Move non-province names to the bottom, so
they are separated from provinces. Add two more names.
2007-07-09 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (Mo Ma - Yo Yak)
* data/tdict-{common,geo,ict,science,spell}.txt: Add words.
2007-07-06 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (Pho Phan - Pho Samphao)
* data/tdict-{common,spell,ict}.txt: Add words.
2007-06-30 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std[-compound].txt: Remove rare words. Rearrange and add
compounds. (Tho Thahan - Fo Fa)
* data/tdict-{common,spell}.txt: Add words.
2007-06-25 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std[-compound].txt: Remove more rare words. Move some
compound words from -std to -std-compound. Add some missing entries
found. (Restarted from Ko Kai - Tho Thung. We need more space to
continue adding compounds from last commit.)
* data/tdict-{common,ict}.txt: Add words.
2007-06-21 Theppitak Karoonboonyanan <[email protected]>
* data/tdict-std[-compound].txt: Add more compound words. Move some
compound words from -std to -std-compound. Remove some rare entries,
to make room for more entries. (~80% done)
* data/tdict-{common,ict}.txt: Add words.
2007-06-18 Theppitak Karoonboonyanan <[email protected]>
* data/Makefile.am, +data/tdict-std-compound.txt, data/tdict-std.txt:
Split compound words into a new file. Selectively add compound words.
(Half done.)
* data/tdict-{common,ict,science,spell}.txt: Add words.