Index: trunk/extensions/Narayam/resources/ext.narayam.rules.pa.js |
— | — | @@ -1,4 +1,4 @@ |
2 | | -/** |
| 2 | +/** |
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 |
— | — | @@ -20,30 +20,12 @@ |
21 | 21 | ['([ਕ-ਹ]਼?)(੍I|ਿi|e)', '', '$1ੀ'], |
22 | 22 | ['([ਕ-ਹ]਼?)੍u', '', '$1ੁ'], |
23 | 23 | ['([ਕ-ਹ]਼?)(ੁu|੍U|o)', '', '$1ੂ'], |
24 | | -['([ਕ-ਹ]਼?)੍R', '', '$1'], |
25 | | -['([ਕ-ਹ]਼?)R', '', '$1'], |
26 | | -['([ਕ-ਹ]਼?)੍ਲ਼੍l', '', '$1'], |
27 | | -['([ਕ-ਹ]਼?)l', '', '$1'], |
28 | | -['([ਕ-ਹ]਼?)\\^', '', '$1'], |
29 | 24 | ['([ਕ-ਹ]਼?)੍e', '', '$1ੇ'], |
30 | 25 | ['([ਕ-ਹ]਼?)੍E', '', '$1ੇ'], |
31 | | -['([ਕ-ਹ]਼?)\\^', '', '$1'], |
32 | 26 | ['([ਕ-ਹ]਼?)i', '', '$1ੈ'], |
33 | 27 | ['([ਕ-ਹ]਼?)੍o', '', '$1ੋ'], |
34 | 28 | ['([ਕ-ਹ]਼?)੍O', '', '$1ੋ'], |
35 | 29 | ['([ਕ-ਹ]਼?)u', '', '$1ੌ'], |
36 | | -['([ਕ-ਹ]਼?)a', '', '$1੍'], |
37 | | -['([ਕ-ਹ]਼?)A', '', '$1੍ਾ'], |
38 | | -['([ਕ-ਹ]਼?)i', '', '$1੍ਿ'], |
39 | | -['([ਕ-ਹ]਼?)I', '', '$1੍ੀ'], |
40 | | -['([ਕ-ਹ]਼?)u', '', '$1੍ੁ'], |
41 | | -['([ਕ-ਹ]਼?)U', '', '$1੍ੂ'], |
42 | | -['([ਕ-ਹ]਼?)\\^', '', '$1੍'], |
43 | | -['([ਕ-ਹ]਼?)e', '', '$1੍'], |
44 | | -['([ਕ-ਹ]਼?)E', '', '$1੍ੇ'], |
45 | | -['([ਕ-ਹ]਼?)o', '', '$1੍'], |
46 | | -['([ਕ-ਹ]਼?)O', '', '$1੍ੋ'], |
47 | | -['([ਕ-ਹ]਼?)\\~', '', '$1੍੍'], |
48 | 30 | ['([ਕ-ਹ])੍\\`', '', '$1਼੍'], |
49 | 31 | |
50 | 32 | ['ਅa', '', 'ਆ'], |
— | — | @@ -55,7 +37,7 @@ |
56 | 38 | ['ਂ\\^', '', 'ਁ'], // Adak bindi |
57 | 39 | ['ਂm', '', 'ਁ'], // Adak bindi |
58 | 40 | ['ਂM', '', 'ਁ'], // Adak bindi |
59 | | -['ਓM', '', ''], |
| 41 | +['ਣ੍N', '', 'ੰ'], // Tippi - nasalization |
60 | 42 | |
61 | 43 | ['ਕ੍h', '', 'ਖ੍'], |
62 | 44 | ['ਗ੍h', '', 'ਘ੍'], |
— | — | @@ -72,8 +54,6 @@ |
73 | 55 | |
74 | 56 | ['ਸ੍h', '', 'ਸ਼੍'], |
75 | 57 | ['ਕ਼੍h', '', 'ਖ਼੍'], |
76 | | -['ਜ਼੍h', '', '੍'], |
77 | | -['\\.', '', ''], |
78 | 58 | |
79 | 59 | ['a', '', 'ਅ'], |
80 | 60 | ['b', '', 'ਬ੍'], |
— | — | @@ -100,12 +80,11 @@ |
101 | 81 | ['u', '', 'ਉ'], |
102 | 82 | ['(v|w)', '', 'ਵ੍'], |
103 | 83 | ['y', '', 'ਯ੍'], |
104 | | -['(z|Z)', '', '.'], |
| 84 | +['z', '', 'ੱ'], // Addak - gemination |
105 | 85 | ['A', '', 'ਆ'], |
106 | 86 | ['B', '', 'ਬ੍ਬ੍'], |
107 | 87 | ['C', '', 'ਕ੍ਕ੍'], |
108 | 88 | ['D', '', 'ਡ੍'], |
109 | | -['E', '', ''], |
110 | 89 | ['G', '', 'ਗ੍ਗ੍'], |
111 | 90 | ['H', '', 'ਃ'], // Visarga |
112 | 91 | ['I', '', 'ਈ'], |