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
|
#!/usr/bin/perl
$language = "Persian";
$variant = "Three";
$prefix = "pe";
$script = "arabic";
$alphabet = [
['الف',['آ']],
['الف',['أ']],
['الف',['ا']],
['ب',['ب']],
['پ',['پ']],
['ت',['ت']],
['ث',['ث']],
['ج',['ج']],
['چ',['چ']],
['ح',['ح']],
['خ',['خ']],
['د',['د']],
['ذ',['ذ']],
['ر',['ر']],
['ز',['ز']],
['ژ',['ژ']],
['س',['س']],
['ش',['ش']],
['ص',['ص']],
['ض',['ض']],
['ط',['ط']],
['ظ',['ظ']],
['ع',['ع']],
['غ',['غ']],
['ف',['ف']],
['ق',['ق']],
['ک',['ک']],
['گ',['گ']],
['ل',['ل']],
['م',['م']],
['ن',['ن']],
['و',['ؤ','و']],
['ه',['ه']],
['ی',['ئ','ی']],
['A', ['a','A'],['à','À']],
['B', ['b','B']],
['C', ['c','C'],['ç','Ç']],
['D', ['d','D'],['ð','Ð']],
['E', ['e','E'],['é','É'],['è','È'],['ë','Ë'],['ê','Ê']],
['F', ['f','F']],
['G', ['g','G']],
['H', ['h','H']],
['I', ['i','I'],['ï','Ï']],
['J', ['j','J']],
['K', ['k','K']],
['L', ['l','L']],
['M', ['m','M']],
['N', ['n','N'],['ñ','Ñ']],
['O', ['o','O'],['ö','Ö'],['ô','Ô']],
['P', ['p','P']],
['Q', ['q','Q']],
['R', ['r','R']],
['S', ['s','S']],
['T', ['t','T']],
['U', ['u','U']],
['V', ['v','V']],
['W', ['w','W']],
['X', ['x','X']],
['Y', ['y','Y']],
['Z', ['z','Z']],
['Þ', ['þ','Þ']],
];
$sortcase = "Aa";
#$sortcase = "aA";
$ligatures = [
[['æ','Æ'], 'after', [['a','e'], ['A','e']]],
[['œ','Œ'], 'after', [['o','e'], ['O','e']]]
];
@special = ('?', '!', '.', 'letters', '-', '\'', '{', '}','ّ','َ','ِ','ُ','ً','ٍ','ٌ','ْ','ٔ','ء','','«','»','ـ');
do 'make-rules.pl';
|