-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext.narayam.rules.ml-inscript.js
88 lines (87 loc) · 1.66 KB
/
ext.narayam.rules.ml-inscript.js
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
/**
* Inscript regular expression rules table for Malayalam
* @author Junaid P V ([[user:Junaidpv]])
* @date 2010-09-08
* License: GPLv3
*/
var rules = [
['`', '', 'ൊ'],
['~', '', 'ഒ'],
['_', '', 'ഃ'],
['=', '', 'ൃ'],
['\\+', '', 'ഋ'],
['\\\\', '', '\u200C'],
['q', '', 'ൗ'],
['Q', '', 'ഔ'],
['w', '', 'ൈ'],
['W', '', 'ഐ'],
['e', '', 'ാ'],
['E', '', 'ആ'],
['r', '', 'ീ'],
['R', '', 'ഈ'],
['t', '', 'ൂ'],
['T', '', 'ഊ'],
['y', '', 'ബ'],
['Y', '', 'ഭ'],
['u', '', 'ഹ'],
['U', '', 'ങ'],
['i', '', 'ഗ'],
['I', '', 'ഘ'],
['o', '', 'ദ'],
['O', '', 'ധ'],
['p', '', 'ജ'],
['P', '', 'ഝ'],
['\\[', '', 'ഡ'],
['\\{', '', 'ഢ'],
//['\\]', '', '\u200d'],
['ണ്\\]', '', 'ൺ'],
['ന്\\]', '', 'ൻ'],
['ര്\\]', '', 'ർ'],
['ല്\\]', '', 'ൽ'],
['ള്\\]', '', 'ൾ'],
['ക്\\]', '', 'ൿ'],
['\\}', '', 'ഞ'],
['a', '', 'ോ'],
['A', '', 'ഓ'],
['s', '', 'േ'],
['S', '', 'ഏ'],
['d', '', '്'],
['D', '', 'അ'],
['f', '', 'ി'],
['F', '', 'ഇ'],
['g', '', 'ു'],
['G', '', 'ഉ'],
['h', '', 'പ'],
['H', '', 'ഫ'],
['j', '', 'ര'],
['J', '', 'റ'],
['k', '', 'ക'],
['K', '', 'ഖ'],
['l', '', 'ത'],
['L', '', 'ഥ'],
[';', '', 'ച'],
[':', '', 'ഛ'],
['\'', '', 'ട'],
['"', '', 'ഠ'],
['z', '', 'െ'],
['Z', '', 'എ'],
['x', '', 'ം'],
['c', '', 'മ'],
['C', '', 'ണ'],
['v', '', 'ന'],
['b', '', 'വ'],
['B', '', 'ഴ'],
['n', '', 'ല'],
['N', '', 'ള'],
['m', '', 'സ'],
['M', '', 'ശ'],
['<', '', 'ഷ'],
['/', '', 'യ']
];
jQuery.narayam.addScheme( 'ml-inscript', {
'namemsg': 'narayam-ml-inscript',
'extended_keyboard': false,
'lookbackLength': 2,
'keyBufferLength': 0,
'rules': rules
} );