aboutsummaryrefslogtreecommitdiffstats
path: root/icu/translit_CCAT_Syriac.txt
blob: 74bf876cc4ae230995a1db26b343f66e20e06212 (plain) (blame)
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
//--------------------------------------------------------------------
// Copyright (c) 2001, CrossWire Bible Society
//--------------------------------------------------------------------

// CCAT-Syriac

translit_CCAT_Syriac {
  Rule {
    ":: NFD (NFC) ;" 
    
    // Variable names, derived from the Unicode names.
    "$ALEF=\u0710;"
    "$ALEF_SUPERSCRIPT=\u0711;"
    "$BET=\u0712;"
    "$GIMEL=\u0713;"
    "$GIMEL_GARSHUNI=\u0714;"
    "$DALET=\u0715;"
    "$DALET_DOTLESS=\u0716;"
    "$HE=\u0717;"
    "$VAV=\u0718;"
    "$ZAYIN=\u0719;"
    "$HET=\u071A;"
    "$TET=\u071B;"
    "$TET_GARSHUNI=\u071C;"
    "$YOD=\u071D;"
    "$YOD_HE=\u071E;"
    "$KAF=\u071F;"
    "$LAMED=\u0720;"
    "$MEM=\u0721;"
    "$NUN=\u0722;"
    "$SAMEKH=\u0723;"
    "$FINAL_SAMEKH=\u0724;"
    "$AYIN=\u0725;"
    "$PE=\u0726;"
    "$PE_REVERSED=\u0727;"
    "$TSADI=\u0728;"
    "$QOF=\u0729;"
    "$RESH=\u072A;"
    "$SHIN=\u072B;"
    "$TAV=\u072C;"
    
    "$letter=[[:LATIN:] & [:L:]];"
    "$softvowel=[eiyEIY];"
    "$vowellike=[$ALEF $AYIN $YOD $VAV $ALEF_SUPERSCRIPT];"

    "'\)'<>$ALEF;"
    "''>$ALEF;"
    "'\)'<$ALEF_SUPERSCRIPT;"
    "B<>$BET;"
    "G<>$GIMEL;"
    "G<$GIMEL_GARSHUNI;"
    "D<>$DALET;"
    "D<$DALET_DOTLESS;"
    "H<>$HE;"
    "W<>$VAV;"
    "Z<>$ZAYIN;"    
    "X<>$HET;"
    "'+'<>$TET;"
    "'+'<$TET_GARSHUNI;"
    "Y<>$YOD;"
    "YH<$YOD_HE;"
    "K<>$KAF;"
    "L<>$LAMED;"
    "M<>$MEM;"
    "N<>$NUN;"
    "S}$letter>$SAMEKH;"
    "S<$SAMEKH;"
    "S<>$FINAL_SAMEKH;"
    "P<>$PE;"    
    "P<$PE_REVERSED;"    
    "'\('<>$AYIN;"
    "'\`'>$AYIN;"
    "C<>$TSADI;"
    "Q<>$QOF;"
    "R<>$RESH;"
    "'#'>$SHIN;"
    "'&'>$SHIN;"
    "'\$'<>$SHIN;"
    "T<>$TAV;"

    //Get rid of anything we didn't recognize
    "<[:SYRIAC:];"
    "$letter>;"

    ":: NFC (NFD) ;"    
  }
}