Index: trunk/extensions/Narayam/js/ext.narayam.rules.mr.js |
— | — | @@ -8,56 +8,51 @@ |
9 | 9 | |
10 | 10 | // Normal rules |
11 | 11 | var rules = [ |
12 | | -['क्h','c','च्'], |
| 12 | +['च्h','c','च्'], // ch |
| 13 | +['च्h', 'ch','छ्'], // chh |
| 14 | + |
13 | 15 | ['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'], |
14 | 16 | |
15 | | - |
16 | 17 | ['([क-ह]़?)्a', '','$1'], |
17 | 18 | ['([क-ह]़?)्A', '','$1ा'], |
18 | 19 | ['([क-ह]़?)a', '','$1ा'], |
19 | 20 | ['([क-ह]़?)्i', '','$1ि'], |
20 | | -['([क-ह]़?)(्I|िi|ॆe)', '','$1ी'], |
| 21 | +['([क-ह]़?)(्I|िi|ेe)', '','$1ी'], |
21 | 22 | ['([क-ह]़?)्u', '','$1ु'], |
22 | | -['([क-ह]़?)(ुu|्U|ॊo)', '','$1ू'], |
| 23 | +['([क-ह]़?)(ुu|्U|ोo)', '','$1ू'], |
23 | 24 | ['([क-ह]़?)्R', '','$1ृ'], |
24 | 25 | ['([क-ह]़?)ृR', '','$1ॄ'], |
25 | 26 | ['([क-ह]़?)्ळ्l', '','$1ॢ'], |
26 | 27 | ['([क-ह]़?)ॢl', '','$1ॣ'], |
27 | | -['([क-ह]़?)ॆ\\^', '','$1ॅ'], |
28 | | -['([क-ह]़?)्e', '','$1ॆ'], |
29 | | -['([क-ह]़?)्E', '','$1े'], |
30 | | -['([क-ह]़?)ॊ\\^', '','$1ॉ'], |
| 28 | +['([क-ह]़?)े\\^', '','$1ॅ'], |
| 29 | +['([क-ह]़?)्e', '','$1े'], |
| 30 | +['([क-ह]़?)्E', '','$1ॅ'], |
| 31 | +['([क-ह]़?)ो\\^', '','$1ॉ'], |
31 | 32 | ['([क-ह]़?)i', '','$1ै'], |
32 | | -['([क-ह]़?)्o', '','$1ॊ'], |
33 | | -['([क-ह]़?)्O', '','$1ो'], |
| 33 | +['([क-ह]़?)्o', '','$1ो'], |
| 34 | +['([क-ह]़?)्O', '','$1ॉ'], |
34 | 35 | ['([क-ह]़?)u', '','$1ौ'], |
35 | | -['([क-ह]़?)ृa', '','$1्ऱ'], |
36 | | -['([क-ह]़?)ृA', '','$1्ऱा'], |
37 | | -['([क-ह]़?)ृi', '','$1्ऱि'], |
38 | | -['([क-ह]़?)ृI', '','$1्ऱी'], |
39 | | -['([क-ह]़?)ृu', '','$1्ऱु'], |
40 | | -['([क-ह]़?)ृU', '','$1्ऱू'], |
41 | | -['([क-ह]़?)ृ\\^', '','$1्ऱॅ'], |
42 | | -['([क-ह]़?)ृe', '','$1्ऱॆ'], |
43 | | -['([क-ह]़?)ृE', '','$1्ऱे'], |
44 | | -['([क-ह]़?)ृo', '','$1्ऱॊ'], |
45 | | -['([क-ह]़?)ृO', '','$1्ऱो'], |
46 | | -['([क-ह]़?)ृ\\~', '','$1्ऱ्'], |
47 | 36 | ['([क-ह])्\\`', '','$1़्'], |
48 | 37 | |
| 38 | +['आऊm', '', 'ॐ'], // AUm |
| 39 | + |
| 40 | +['(ग्ग्y|ज्ज्n)', '', 'ज्ञ्'], // Gy or Jy |
| 41 | + |
| 42 | +['र्र्y', '', 'ऱ्य्'], // rry |
| 43 | +['र्र्h', '', 'ऱ्ह्'], // rry |
| 44 | + |
49 | 45 | ['अa', '','आ'], |
50 | 46 | ['(ऒo|उu)', '','ऊ'], |
51 | | -['ऎ\\^', '','ऍ'], |
| 47 | +['ए\\^', '','ऍ'], |
52 | 48 | ['अi', '','ऐ'], |
53 | | -['अ\\^', '','ॲ'], |
54 | | -['(इi|ऎe)', '','ई'], |
| 49 | +['(अ\\^|E)', '','ॲ'], |
| 50 | +['(इi|एe)', '','ई'], |
55 | 51 | ['ऒ\\^', '','ऑ'], |
56 | 52 | ['अu', '','औ'], |
57 | 53 | ['ऋR', '','ॠ'], |
58 | 54 | ['ळ्l', '','ऌ'], |
59 | 55 | ['ऌl', '','ॡ'], |
60 | | -['ं\\^', '','ँ'], |
61 | | -['ंm', '','ँ'], |
| 56 | +['ंM', '','ँ'], |
62 | 57 | ['ओM', '','ॐ'], |
63 | 58 | |
64 | 59 | ['र्Y', '','ऱ्य्'], |
— | — | @@ -65,39 +60,28 @@ |
66 | 61 | ['क्h', '','ख्'],//kh |
67 | 62 | ['ग्h', '','घ्'], |
68 | 63 | ['न्g', '','ङ्'], |
69 | | -['च्h', '','छ्'], |
70 | 64 | ['ज्h', '','झ्'], |
71 | 65 | ['न्j', '','ञ्'], |
72 | 66 | ['ट्h', '','ठ्'], |
73 | 67 | ['ड्h', '','ढ्'], |
74 | 68 | ['त्h', '','थ्'], |
75 | 69 | ['द्h', '','ध्'], |
76 | | -['प्h', '','फ्'], |
| 70 | +['(f|प्h)', '','फ्'], |
77 | 71 | ['ब्h', '','भ्'], |
78 | | -['ऋa', '','ऱ'], |
79 | | -['ऋA', '','ऱा'], |
80 | | -['ऋi', '','ऱि'], |
81 | | -['ऋI', '','ऱी'], |
82 | | -['ऋu', '','ऱु'], |
83 | | -['ऋU', '','ऱू'], |
84 | | -['ऋ\\^', '','ऱॅ'], |
85 | | -['ऋe', '','ऱॆ'], |
86 | | -['ऋE', '','ऱे'], |
87 | | -['ऋo', '','ऱॊ'], |
88 | | -['ऋO', '','ऱो'], |
89 | | -['ऋ\\~', '','ऱ्'], |
| 72 | +['ऋi', '', 'ॠ'], // Ri |
| 73 | +['ऋl', '', 'ॡ'], // Rl |
90 | 74 | |
91 | | -['स्h', '','ष्'], |
| 75 | +['स्h', '','श्'], |
| 76 | +['श्h', '', 'ष्'], |
92 | 77 | ['क़्h', '','ख़्'], |
93 | 78 | ['ज़्h', '','ऴ्'], |
94 | | -['।\\.', '','॥'], |
| 79 | +['।\\\\', '','॥'], |
95 | 80 | |
96 | 81 | ['a', '','अ'], |
97 | 82 | ['b', '','ब्'], |
98 | | -['c', '','क्'], |
| 83 | +['c', '','च्'], |
99 | 84 | ['d', '','द्'], |
100 | | -['e', '','ऎ'], |
101 | | -['(f|F)', '','फ़्'], |
| 85 | +['e', '','ए'], |
102 | 86 | ['g', '','ग्'], |
103 | 87 | ['h', '','ह्'], |
104 | 88 | ['i', '','इ'], |
— | — | @@ -106,7 +90,7 @@ |
107 | 91 | ['l', '','ल्'], |
108 | 92 | ['m', '','म्'], |
109 | 93 | ['n', '','न्'], |
110 | | -['o', '','ऒ'], |
| 94 | +['o', '','ओ'], |
111 | 95 | ['p', '','प्'], |
112 | 96 | ['q', '','क़्'], |
113 | 97 | ['r', '','र्'], |
— | — | @@ -116,12 +100,11 @@ |
117 | 101 | ['(v|w)', '','व्'], |
118 | 102 | ['x', '','क्ष्'], |
119 | 103 | ['y', '','य्'], |
120 | | -['(z|Z)', '','ज़्'], |
| 104 | +['(z|Z)', '','झ्'], |
121 | 105 | ['A', '','आ'], |
122 | 106 | ['B', '','ब्ब्'], |
123 | 107 | ['C', '','क्क्'], |
124 | 108 | ['D', '','ड्'], |
125 | | -['E', '','ए'], |
126 | 109 | //'F', '','फ्'], |
127 | 110 | ['G', '','ग्ग्'], |
128 | 111 | ['H', '','ः'], |
— | — | @@ -131,7 +114,7 @@ |
132 | 115 | ['L', '','ळ्'], |
133 | 116 | ['M', '','ं'], |
134 | 117 | ['N', '','ण्'], |
135 | | -['O', '','ओ'], |
| 118 | +['O', '','ऑ'], |
136 | 119 | ['P', '','प्प्'], |
137 | 120 | //'Q', '','अ'], |
138 | 121 | ['R', '','ऋ'], |
— | — | @@ -153,7 +136,7 @@ |
154 | 137 | ['8', '','८'], |
155 | 138 | ['9', '','९'], |
156 | 139 | ['~', '','्'], |
157 | | -['\\.', '','।'], |
| 140 | +['.\\\\', '','।'], |
158 | 141 | ['//', '','ऽ'], |
159 | 142 | ['\\`', '','़'], |
160 | 143 | ['(\u200C)*_', '', '\u200c'] |