~ubuntu-branches/debian/squeeze/sword/squeeze

« back to all changes in this revision

Viewing changes to icu/translit_Latin_Thai.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Marsden, Jonathan Marsden, Dmitrijs Ledkovs, Closed Bugs
  • Date: 2009-05-30 11:55:55 UTC
  • mfrom: (1.3.1 upstream) (6.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090530115555-r427zsn3amivdpfu
Tags: 1.6.0+dfsg-1
[ Jonathan Marsden ]
* New upstream release. (Closes: #507960) (LP: #320558)
* debian/patches/02_libver.diff:
  - Bump SONAME to 8 -- SWORD 1.6 is not backward compatible with 1.5.11.
* debian/patches/series:
  - Remove 10_diatheke.diff -- included in upstream source.
* debian/patches/:
  - Remove several old unused .diff files.
  - Add 11_regex_only_when_needed.diff to conditionally include regex lib.
  - Add 12_fix_compiler_warnings.diff to remove all compiler warnings.
  - Add 13_fix_osis2mod_compression_default.diff from upstream svn.
  - Add 14_closing_section_not_chapter.diff from upstream svn.
* debian/libsword7.*: 
  - Rename to libsword8.*
  - Change libsword7 to libsword8 within files.
* debian/rules: 
  - SONAME bump to 8.
  - Set library version check to >= 1.6
* debian/control:
  - Change libsword7 to libsword8.
  - Add libsword7 to Conflicts.
  - Fix case of sword to SWORD in package descriptions.
  - Bump Standards-Version to 3.8.1 (no changes needed).
  - Fix section for libsword-dbg to avoid lintian warning.
* debian/rules:
  - Add DFSG get-orig-source target.
* debian/copyright:
  - Fix various mistakes in initial attempt to document copyrights.

[ Dmitrijs Ledkovs ]
* debian/rules: Added utils.mk to use missing-files target and call it on
  each build.
* debian/libsword-dev.install: Added libsword.la, previously missing.
* debian/libsword7.install: Added missing libicu translit files.
* debian/control:
  - Updated all uses of SWORD version to 1.6
  - Added libsword-dbg package
* debian/watch: Fixed a small mistake which was resulting in extra "."
  in final version name.
* debian/rules: simplified manpage processing.
* debian/libsword8.lintian-overrides: added override for module
  installation directory.
* debian/copyright: Updated with information about everyfile.
  Closes: #513448 LP: #322638
* debian/diatheke.examples: moved examples here from the diatheke.install
* debian/rules:
  - enabled shell script based testsuite
  - added commented out cppunit testsuite
* debian/patches/40_missing_includes.diff: 
  - added several missing stdio.h includes to prevent FTBFS of testsuite.

[ Closed Bugs ]
* FTBFS on intrepid (LP: #305172)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//--------------------------------------------------------------------
 
2
// Copyright 2001, CrossWire Bible Society (http://www.crosswire.org)
 
3
// Use freely.
 
4
//--------------------------------------------------------------------
 
5
// Based upon UNGEGN recommendations from
 
6
// http://www.eki.ee/wgrs/rom1_th.pdf
 
7
//--------------------------------------------------------------------
 
8
 
 
9
// Latin-Thai
 
10
 
 
11
translit_Latin_Thai {
 
12
  Rule {
 
13
    ":: NFD (NFC) ;" 
 
14
 
 
15
    ":: [[:LATIN:]-[B]] lower();"
 
16
 
 
17
    //completeness mappings
 
18
    "c}[^h]>|k;"
 
19
    "g>|ng;"
 
20
    "q>|k;"
 
21
    "v>|f;"
 
22
    "x>|kh;"
 
23
    "z>|s;"
 
24
    "j>|i;"
 
25
 
 
26
    // latin-thai
 
27
    "\u2026<>\u0E2F;"
 
28
    "\u00B7<>\u0E4F;"
 
29
 
 
30
    "B<>\u0E3F;"
 
31
 
 
32
    "|$1 a $2<([[:THAI:]&[:L:]])\u0E31([[:THAI:]&[:L:]]);"
 
33
    "|$1 a $2<([[:THAI:]&[:L:]])\u0E23\u0E23([[:THAI:]&[:L:]]);"
 
34
    "|$1 e<\u0E40([[:THAI:]&[:L:]])\u0E30;"
 
35
    "|$1 e $2<\u0E40([[:THAI:]&[:L:]])\u0E47([[:THAI:]&[:L:]]);"
 
36
    "|$1 ae<\u0E41([[:THAI:]&[:L:]])\u0E30;"
 
37
    "|$1 ae $2<\u0E41([[:THAI:]&[:L:]])\u0E47([[:THAI:]&[:L:]]);"
 
38
    "|$1 o<\u0E42([[:THAI:]&[:L:]])\u0E30;"
 
39
    "|$1 o<\u0E40([[:THAI:]&[:L:]])\u0E32\u0E30;"
 
40
    "|$1 oe<\u0E40([[:THAI:]&[:L:]])\u0E3D\u0E30;"
 
41
    "|$1 oe $2<\u0E40([[:THAI:]&[:L:]])\u0E34([[:THAI:]&[:L:]]);"
 
42
    "|$1 oe<\u0E40([[:THAI:]&[:L:]])\u0E2D;"
 
43
    "|$1 ia<\u0E40([[:THAI:]&[:L:]])\u0E35\u0E22\u0E30;"
 
44
    "|$1 ia<\u0E40([[:THAI:]&[:L:]])\u0E35\u0E22;"
 
45
    "|$1 uea<\u0E40([[:THAI:]&[:L:]])\u0E37\u0E2D\u0E30;"
 
46
    "|$1 uea<\u0E40([[:THAI:]&[:L:]])\u0E37\u0E2D;"
 
47
    "|$1 ua<([[:THAI:]&[:L:]])\u0E31\u0E27\u0E30;"
 
48
    "|$1 ua<([[:THAI:]&[:L:]])\u0E31\u0E27;"
 
49
    "|$1 ua $2<([[:THAI:]&[:L:]])\u0E27([[:THAI:]&[:L:]]);"
 
50
    "|$1 ai<([[:THAI:]&[:L:]])\u0E31\u0E22;"
 
51
    "|$1 ai<\u0E44([[:THAI:]&[:L:]])\u0E22;"
 
52
    "|$1 ai<([[:THAI:]&[:L:]])\u0E32\u0E22;"
 
53
    "|$1 ao<\u0E40([[:THAI:]&[:L:]])\u0E32;"
 
54
    "|$1 ao<([[:THAI:]&[:L:]])\u0E32\u0E27;"
 
55
    "|$1 ui<([[:THAI:]&[:L:]])\u0E38\u0E22;"
 
56
    "|$1 oi<\u0E42([[:THAI:]&[:L:]])\u0E22;"
 
57
    "|$1 oi<([[:THAI:]&[:L:]])\u0E2D\u0E22;"
 
58
    "|$1 oei<\u0E40([[:THAI:]&[:L:]])\u0E22;"
 
59
    "|$1 ueai<\u0E40([[:THAI:]&[:L:]])\u0E37\u0E2D\u0E22;"
 
60
    "|$1 uai<([[:THAI:]&[:L:]])\u0E27\u0E22;"
 
61
    "|$1 io<([[:THAI:]&[:L:]])\u0E34\u0E27;"
 
62
    "|$1 eo<\u0E40([[:THAI:]&[:L:]])\u0E47\u0E27;"
 
63
    "|$1 eo<\u0E40([[:THAI:]&[:L:]])\u0E27;"
 
64
    "|$1 aeo<\u0E41([[:THAI:]&[:L:]])\u0E47\u0E27;"
 
65
    "|$1 aeo<\u0E41([[:THAI:]&[:L:]])\u0E27;"
 
66
    "|$1 iao<\u0E40([[:THAI:]&[:L:]])\u0E35\u0E22\u0E27;"
 
67
 
 
68
    "|$1 o<([[:THAI:]&[:L:]])\u0E2D;"
 
69
    "|$1 a<([[:THAI:]&[:L:]])\u0E30;"
 
70
    "|$1 a<([[:THAI:]&[:L:]])\u0E32;"
 
71
    "|$1 an<([[:THAI:]&[:L:]])\u0E23\u0E23;"
 
72
    "|$1 am<([[:THAI:]&[:L:]])\u0E33;"
 
73
    "|$1 i<([[:THAI:]&[:L:]])\u0E34;"
 
74
    "|$1 i<([[:THAI:]&[:L:]])\u0E35;"
 
75
    "|$1 ue<([[:THAI:]&[:L:]])\u0E36;"
 
76
    "|$1 ue<([[:THAI:]&[:L:]])\u0E37;"
 
77
    "|$1 u<([[:THAI:]&[:L:]])\u0E38;"
 
78
    "|$1 u<([[:THAI:]&[:L:]])\u0E39;"
 
79
    "|$1 e<\u0E40([[:THAI:]&[:L:]]);"
 
80
    "|$1 ae<\u0E41([[:THAI:]&[:L:]]);"
 
81
    "|$1 o<\u0E42([[:THAI:]&[:L:]]);"
 
82
    "|$1 ai<\u0E43([[:THAI:]&[:L:]]);"
 
83
    "|$1 ai<\u0E44([[:THAI:]&[:L:]]);"
 
84
 
 
85
    "0<>\u0E50;"
 
86
    "1<>\u0E51;"
 
87
    "2<>\u0E52;"
 
88
    "3<>\u0E53;"
 
89
    "4<>\u0E54;"
 
90
    "5<>\u0E55;"
 
91
    "6<>\u0E56;"
 
92
    "7<>\u0E57;"
 
93
    "8<>\u0E58;"
 
94
    "9<>\u0E59;"
 
95
 
 
96
    // this doesn't work; don't know why
 
97
    //    "| $1 o < ([[:THAI:]&[:L:]]);"
 
98
 
 
99
    "kh<>\u0E02;"
 
100
    "kh<\u0E03;"
 
101
    "kh<\u0E04;"
 
102
    "kh<\u0E05;"
 
103
    "kh<\u0E06;"
 
104
    "k<>\u0E01;"
 
105
    "ng<>\u0E07;"
 
106
    "ch<>\u0E08;"
 
107
    "ch<\u0E09;"
 
108
    "ch<\u0E0A;"
 
109
    "s<>\u0E0B;"
 
110
    "ch<\u0E0C;"
 
111
    "y<>\u0E0D;"
 
112
    "d<>\u0E0E;"
 
113
    "s<\u0E17\u0E23;"
 
114
    "th<>\u0E10;"
 
115
    "th<\u0E11;"
 
116
    "th<\u0E12;"
 
117
    "th<\u0E16;"
 
118
    "th<\u0E17;"
 
119
    "th<\u0E18;"
 
120
    "t<>\u0E0F;"
 
121
    "n<>\u0E13;"
 
122
    "d<\u0E14;"
 
123
    "t<\u0E15;"
 
124
    "n<\u0E19;"
 
125
    "b<>\u0E1A;"
 
126
    "ph<>\u0E1C;"
 
127
    "ph<\u0E1E;"
 
128
    "ph<\u0E20;"
 
129
    "p<>\u0E1B;"
 
130
    "f<>\u0E1D;"
 
131
    "f<\u0E1F;"
 
132
    "m<>\u0E21;"
 
133
    "y<\u0E22;"
 
134
    "rue<>\u0E24\u0E32;"
 
135
    "ri<>\u0E24;"
 
136
    "r<>\u0E23;"
 
137
    "lue<\u0E26\u0E32;"
 
138
    "lue<>\u0E26;"
 
139
    "l<>\u0E25;"
 
140
    "w<>\u0E27;"
 
141
    "s<\u0E28;"
 
142
    "s<\u0E29;"
 
143
    "s<\u0E2A;"
 
144
    "h<>\u0E2B;"
 
145
    "l<\u0E2C;"
 
146
    "o<\u0E2D;"
 
147
    "h<\u0E2E;"
 
148
 
 
149
    //vowels
 
150
    "a>\u0E30;"
 
151
    "([:LATIN:])e>|\u0E40 $1;"
 
152
    "i>\u0E34;"
 
153
    "([:^L:])o>|$1 \u0E2D;"
 
154
    "u>\u0E38;"
 
155
 
 
156
    //remove untransliterated
 
157
    "<[:THAI:];"
 
158
    "[:LATIN:]>;"
 
159
 
 
160
    ":: NFC (NFD) ;"    
 
161
  }
 
162
}