Index: trunk/extensions/Narayam/resources/ext.narayam.rules.pa.js |
— | — | @@ -2,7 +2,7 @@ |
3 | 3 | * Transliteration regular expression rules table for Gurmukhi script for Punjabi |
4 | 4 | * @author Amir E. Aharoni |
5 | 5 | * Semi-automatically created from the Hindi transliteration mapping using |
6 | | - * the Perl substitution: |
| 6 | + * the following Perl substitution: |
7 | 7 | * s{(?<deva_letter>[ऀ-ॿ])}{chr(ord($+{deva_letter}) + 0x100)}xmsge; |
8 | 8 | * @date 2012-02-11 |
9 | 9 | * License: GPLv3 |
— | — | @@ -48,18 +48,13 @@ |
49 | 49 | |
50 | 50 | ['ਅa', '', 'ਆ'], |
51 | 51 | ['(o|ਉu)', '', 'ਊ'], |
52 | | -['\\^', '', ''], |
53 | 52 | ['ਅi', '', 'ਐ'], |
54 | 53 | ['ਅ\\^', '', 'ੲ'], |
55 | 54 | ['(ਇi|e)', '', 'ਈ'], |
56 | | -['\\^', '', ''], |
57 | 55 | ['ਅu', '', 'ਔ'], |
58 | | -['R', '', ''], |
59 | | -['ਲ਼੍l', '', ''], |
60 | | -['l', '', ''], |
61 | | -['ਂ\\^', '', 'ਁ'], |
62 | | -['ਂm', '', 'ਁ'], |
63 | | -['ਂM', '', 'ਁ'], |
| 56 | +['ਂ\\^', '', 'ਁ'], // Adak bindi |
| 57 | +['ਂm', '', 'ਁ'], // Adak bindi |
| 58 | +['ਂM', '', 'ਁ'], // Adak bindi |
64 | 59 | ['ਓM', '', ''], |
65 | 60 | |
66 | 61 | ['ਕ੍h', '', 'ਖ੍'], |
— | — | @@ -74,21 +69,8 @@ |
75 | 70 | ['ਦ੍h', '', 'ਧ੍'], |
76 | 71 | ['ਪ੍h', '', 'ਫ੍'], |
77 | 72 | ['ਬ੍h', '', 'ਭ੍'], |
78 | | -['a', '', ''], |
79 | | -['A', '', 'ਾ'], |
80 | | -['i', '', 'ਿ'], |
81 | | -['I', '', 'ੀ'], |
82 | | -['u', '', 'ੁ'], |
83 | | -['U', '', 'ੂ'], |
84 | | -['\\^', '', ''], |
85 | | -['e', '', 'ੇ'], |
86 | | -['E', '', 'ੇ'], |
87 | | -['o', '', 'ੋ'], |
88 | | -['O', '', 'ੋ'], |
89 | | -['\\~', '', '੍'], |
90 | 73 | |
91 | 74 | ['ਸ੍h', '', 'ਸ਼੍'], |
92 | | -['ਸ਼੍h', '', '੍'], |
93 | 75 | ['ਕ਼੍h', '', 'ਖ਼੍'], |
94 | 76 | ['ਜ਼੍h', '', '੍'], |
95 | 77 | ['\\.', '', ''], |
— | — | @@ -111,13 +93,12 @@ |
112 | 94 | ['n', '', 'ਨ੍'], |
113 | 95 | ['o', '', 'ਓ'], |
114 | 96 | ['p', '', 'ਪ੍'], |
115 | | -['q', '', '\u0A51'], |
| 97 | +['q', '', 'ੑ'], // Udaat |
116 | 98 | ['r', '', 'ਰ੍'], |
117 | 99 | ['s', '', 'ਸ੍'], |
118 | 100 | ['t', '', 'ਤ੍'], |
119 | 101 | ['u', '', 'ਉ'], |
120 | 102 | ['(v|w)', '', 'ਵ੍'], |
121 | | -['x', '', 'ਕ੍੍'], |
122 | 103 | ['y', '', 'ਯ੍'], |
123 | 104 | ['(z|Z)', '', '.'], |
124 | 105 | ['A', '', 'ਆ'], |
— | — | @@ -125,26 +106,21 @@ |
126 | 107 | ['C', '', 'ਕ੍ਕ੍'], |
127 | 108 | ['D', '', 'ਡ੍'], |
128 | 109 | ['E', '', ''], |
129 | | -//'F', '', 'ਫ੍'], |
130 | 110 | ['G', '', 'ਗ੍ਗ੍'], |
131 | | -['H', '', 'ਃ'], |
| 111 | +['H', '', 'ਃ'], // Visarga |
132 | 112 | ['I', '', 'ਈ'], |
133 | 113 | ['J', '', 'ਜ੍ਜ੍'], |
134 | 114 | ['K', '', 'ਕ੍ਕ੍'], |
135 | 115 | ['L', '', 'ਲ਼੍'], |
136 | | -['M', '', 'ਂ'], |
| 116 | +['M', '', 'ਂ'], // Bindi |
137 | 117 | ['N', '', 'ਣ੍'], |
138 | 118 | ['O', '', 'ਓ'], |
139 | 119 | ['P', '', 'ਪ੍ਪ੍'], |
140 | | -//'Q', '', 'ਅ'], |
141 | | -['R', '', ''], |
142 | 120 | ['S', '', 'ਸ਼੍'], |
143 | 121 | ['T', '', 'ਟ੍'], |
144 | 122 | ['U', '', 'ਊ'], |
145 | 123 | ['(V|W)', '', 'ਵ੍ਵ੍'], |
146 | | -['X', '', 'ਕ੍੍'], |
147 | 124 | ['Y', '', 'ਞ੍'], |
148 | | -//'z', '', 'ਅ' |
149 | 125 | ['0', '', '੦'], |
150 | 126 | ['1', '', '੧'], |
151 | 127 | ['2', '', '੨'], |
— | — | @@ -156,8 +132,6 @@ |
157 | 133 | ['8', '', '੮'], |
158 | 134 | ['9', '', '੯'], |
159 | 135 | ['~', '', '੍'], |
160 | | -['\\.', '', ''], |
161 | | -['//', '', ''], |
162 | 136 | ['\\`', '', '਼'] |
163 | 137 | ]; |
164 | 138 | |