blob: 4ba67436add9857582b81102585db7d5f39dc4bc (
plain)
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
|
;; LHSName "ArabTeX-ZDMG"
LHSName "ArabTeX-LOC"
;; LHSName "ArabTeX-EI"
RHSName "UNICODE"
Define a U+0061 ;a
Define b U+0062 ;b
Define c U+0063 ;c
Define d U+0064 ;d
Define e U+0065 ;e
Define f U+0066 ;f
Define g U+0067 ;g
Define h U+0068 ;h
Define i U+0069 ;i
Define j U+006A ;j
Define k U+006B ;k
Define l U+006C ;l
Define m U+006D ;m
Define n U+006E ;n
Define o U+006F ;o
Define p U+0070 ;p
Define q U+0071 ;q
Define r U+0072 ;r
Define s U+0073 ;s
Define t U+0074 ;t
Define u U+0075 ;u
Define v U+0076 ;v
Define w U+0077 ;w
Define x U+0078 ;x
Define y U+0079 ;y
Define z U+007A ;z
Define A U+0041 ;A
Define B U+0042 ;B
Define E U+0045 ;E
Define G U+0047 ;G
Define I U+0049 ;I
Define N U+004E ;N
Define O U+004F ;O
Define T U+0054 ;T
Define U U+0055 ;U
Define Y U+0059 ;Y
Define C U+005E ;^ << CARET
Define UL U+005F ;_ << UNDERLINE
Define P U+002E ;. << DOT
Define V U+002C ;, << COMMA (_V_irgule)
Define CO U+003A ;: << COLON
Define Ain U+0060 ;`
Define H U+0027 ;' << HAMZA
Define Q U+0022 ;" << QUOTE
Define Z U+002D ;- << HYPHEN
Define BAR U+007C ;|
Define LLAH U+006C U+006C U+005F U+0061 U+0068
pass(Unicode)
Class [VWL] = (U+0061 U+0065 U+0069 U+006F U+0075 ) ;(a e i o u)
Class [LTR] = (U+0061..U+007A U+0041 U+0045 U+0049 U+004F U+0055 U+0042 U+004E U+0054 U+0059 U+005E U+002E U+005F U+0022 U+0027 U+0060) ;a..z A E I O U B N T Y ^ . _ " "" `
Class [BRACKETS] = (U+003C U+003E U+00AB U+00BB U+0028 U+0029 U+005B U+005D U+2018 U+2019 U+201C U+201D); < > () « » [ ] ‘ ’ “ ”
Define BEG (#|Z|[BRACKETS])
; special ligatures
(a|A) l Z / _ LLAH > A ;; 'al-ll_ah' or 'Al-ll_ah'
U+0053 U+004C U+004D > U+1E63 U+0061 U+006C U+006C U+0101 U+0020 U+0041 U+006C U+006C U+0101 U+0068 U+0020 U+02BF U+0061 U+006C U+0061 U+0079 U+0068 U+0069 U+0020 U+0077 U+0061 U+002D U+0073 U+0061 U+006C U+006C U+0061 U+006D ; 'SLM' : .sallY al-ll_ah `alayhi wa-sallam
U+0052 U+0049 U+0059 U+0041 U+004C > U+0072 U+0069 U+0079 U+0101 U+006C ;; 'RIYAL' : Saudi currency sign
U+0053 U+0041 U+004C U+004C U+0041 U+0053 U+0054 U+004F U+0050 > ;; 'SALLASTOP'
U+0051 U+0041 U+004C U+0041 > ;; 'QALA'
U+0041 U+004B U+0042 U+0041 U+0052 > U+0041 U+006B U+0062 U+0061 U+0072 ;; 'AKBAR'
U+004D U+0055 U+0048 U+0041 U+004D U+004D U+0041 U+0044 > U+004D U+0075 U+1E25 U+0061 U+006D U+006D U+0061 U+0064 ;; 'MUHAMMAD'
U+0053 U+0041 U+004C U+0041 U+004D > U+0073 U+0061 U+006C U+0101 U+006D ;; 'SALAM'
U+0052 U+0041 U+0053 U+004F ? U+0055 U+004C > U+0072 U+0061 U+0073 U+016B U+006C ;; 'RASUL' (also unicode 'RASOUL)'
U+0041 U+004C U+0041 U+0059 U+0048 (U+0049|U+0045) > U+02BF U+0061 U+006C U+0061 U+0079 U+0068 U+0069 ;; 'ALAYHI' (also unicode 'ALAYHE)'
U+0057 U+0041 U+0053 U+0041 U+004C U+004C U+0041 U+004D > U+0077 U+0061 U+002D U+0073 U+0061 U+006C U+006C U+0061 U+006D ;; 'WASALLAM'
U+0053 U+0041 U+004C U+004C U+0041 > U+1E63 U+0061 U+006C U+006C U+0101 ;; 'SALLA'
U+004A U+0041 U+004C U+004C U+0041 > U+006A U+0061 U+006C U+006C U+0101 ;; 'JALLA' :
U+0042 U+0041 U+0053 U+004D U+0041 U+004C U+0041 > U+0062 U+0069 U+0073 U+006D U+0069 U+0020 U+0041 U+006C U+006C U+0101 U+0068 U+0020 U+0061 U+006C U+002D U+0072 U+0061 U+1E25 U+006D U+0101 U+006E U+0020 U+0061 U+006C U+002D U+0072 U+0061 U+0068 U+012B U+006D ;; 'BASMALA'
U+005E U+0053 U+004C U+0059 > ;; ^SLY
U+005E U+0051 U+004C U+0059 > ;; ^QLY
U+005E U+004D U+0049 U+004D > ;; ^MIM
U+005E U+004C U+0041 > ;; ^LA
U+005E U+004A U+0049 U+004D > ;; ^JIM
U+005E U+0044 U+004F U+0054 U+0053 > ;; ^DOTS
U+005E U+0053 U+0049 U+004E > ;; ^SIN
U+0048 U+0049 U+005A U+0042 > ;; HIZB
U+0043 U+0049 U+0052 U+0043 U+005A U+0045 U+0052 U+004F > ;; CIRCZERO
U+0052 U+0045 U+0043 U+0054 U+005A U+0045 U+0052 U+004F > ;; RECTZERO
U+0053 U+0041 U+004A U+0044 U+0041 > ;; SAJDA
U+0044 U+004F U+0054 U+0053 > ;; DOTS
; general
;persian
UL h w > k h ;;
;; #zdmg UL h w > U+1E2B
;;
;; #zdmg l Z [SUNCONS]=sc / (a | H) _ > @sc Z @sc ;
;; #zdmg [VWL] / [VWL] BEG _ > U+2019 ; vowel at beg of word replaced by apostr when prec word end with vowel
;; #zdmg (A|Y|UL A) / _ (N|U|W) > ;
; problem of "T": It should be omitted when at end of word and when not
; the 1st member of a definite construct: al-madInaT al-`a.zImaT > al-madīna al-ʿaẓīma
; Only solution is to always transliterate to t, except when explicitly "quoted off":
T Q / _ # > ;
T > t
N > n
U+0057 > w
(U|u u|UL u) > U+016B
(A|a a|UL a|UL A) > U+0101
(I|i i|UL i) > U+012B
(E|e e) > U+0113
(O|o o) > U+014D
C A > U+02BE U+0101 ; historical spelling
C U > U+02BE U+016B ; historical spelling : madda on waw
C I > U+02BE U+012B ; historical spelling : madda on ya
Q > ;
P z > U+1E93
V z > U+017A
;; #zdmg C z > U+017E ;check
C z > z h ;check
w > v ; sindhi LOC
V t > U+1E6D
P t > t U+0324
;; #zdmg UL t > U+1E6F
;; #zdmg C s > U+0161
C s > s h
UL (s|t) > s U+0331 ; sindhi
V r > U+0155
P r > U+1E59; r with dot above
P q > q ; ?
C n > U+00F1
P n > U+1E47
V n > U+1E45
C l > l U+0303 ; l + combining tilde
CO g > g U+0308
V d > U+1E0D
CO d > d U+0324
P d > z U+0324
V s > U+015B
P s > U+1E63
;; #zdmg (j|C g) > U+01E7 ;
(j|C g) > j ;
CO j > U+0237 U+0308
P h > U+1E25
V h > h
;; #zdmg (UL h|x) > U+1E2B
(UL h|x) > k h
G > g
P g > g h
;; #zdmg U+0121
P f > f ; ?
;; #zdmg UL d > U+1E0F
UL d > d h
;; #zdmg C c > U+010D ;
C c > c ;
CO b > b U+0324
P b > x ; ? undotted (b,t,th,n,y) ...
Y > U+0101 ;ā -> sometimes á : check
Ain > U+02BF
H > ; hamzas are omitted in sindhi trans
Z Z Z > ;
Z Z > ;
B > ;
U+003C U+003C > U+00AB ;<<
U+003E U+003E > U+00BB ;>>
UL > ;_
U+003A U+003A > U+2234 ; '::' ??Arabic three dots transliterated by Therefore??
N > ;
C > ;^
Q BAR > ;;
BAR > ;|
|