-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfix_features.sed
26 lines (26 loc) · 1.07 KB
/
fix_features.sed
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
/^lookup .*Removedotfromiandj/,/^} .*Removedotfromiandj;/ c\
lookup dotlessforms {\
lookupflag 0;\
sub \\i by \\dotlessi;\
sub \\j by \\dotlessj;\
sub \\v by \\v.alt;\
sub \\w by \\w.alt;\
sub \\iogonek by \\dotlessiogonek;\
sub \\vdotbelow by \\vdotbelow.alt;\
sub \\wdotbelow by \\wdotbelow.alt;\
sub \\idotbelow by \\dotlessidotbelow;\
sub \\ibreveinvertedbelow by \\dotlessibreveinvertedbelow;\
sub \\jdotbelow by \\dotlessjdotbelow;\
} dotlessforms;\
\
lookup Removedotfromiandj {\
lookupflag 0;\
@cc3_match_1 = [\\i \\j \\v \\w \\iogonek \\vdotbelow \\wdotbelow \\idotbelow \\ibreveinvertedbelow\
\\jdotbelow ];\
@cc3_match_2 = [\\gravecmb \\acutecmb \\circumflexcmb \\tildecmb \\macroncmb \\brevecmb \
\\dotaccentcmb \\dieresiscmb \\hookcmb \\ringcmb \\hungarumlautcmb \
\\caroncmb \\acmb \\ecmb \\icmb \\ocmb \\ucmb \\ccmb \\dcmb \\hcmb \\mcmb \\rcmb \\tcmb \
\\vcmb \\xcmb \\wcmb ];\
sub @cc3_match_1' lookup dotlessforms @cc3_match_2';\
} Removedotfromiandj;
s/lookup .*Removedotfromiandj;/lookup Removedotfromiandj;/