Skip to content

Commit

Permalink
chore: luna_pinyin speller
Browse files Browse the repository at this point in the history
  • Loading branch information
halfmoonvic committed Feb 18, 2023
1 parent ee597fc commit 16fc331
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions luna_pinyin.custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ patch:
############# a | e #############
# a. → .a
# ab => ba、 al => la、 am => ma | abn => ban、 alng => lang
- derive/^([blm])a/a$1/
- derive/^([bklm])a/a$1/
# hau => hua
# - derive/(?!^)([u])a/a$1/

Expand All @@ -128,7 +128,7 @@ patch:

# e. → .e
# el => le、 em => me | ezn => zen | elng => leng
- derive/^([bfklmrwz])e(.*)$/e$1$2/
- derive/^([bfklmrwyz])e(.*)$/e$1$2/

# .e → e.
# fie => fei、 gie => gei、 kie => kei、 wie => wei、 zie => zei
Expand All @@ -145,6 +145,10 @@ patch:
# jai => jia、 jei => jie、 xai => xia、 xei => xie
- derive/^([jqx])i([ae])$/$1$2i/

# e.i → .ie | .ai → .ia
# eji => jie、 eqi => qie、 exi => xie
- derive/^([jqx])i([ae])$/$2$1i/

# ^i.h$ → ^h.i$
# ia → ai、 iuh => hui、 iah => hai、 ieh => hei
- derive/^(h?)([aeqtux])i/i$2$1/
Expand Down

0 comments on commit 16fc331

Please sign in to comment.