niobures's picture
XPF
4a08ba7 verified
# Rabinal Achi' Rule Set
# Written by: Emily
# Last Updated: 2020-03-30
type,sfrom,sto,weight,precede,follow,comment
# Class Rules
class,passthrough,[aeiklmnopqstuw],,,,
class,apostrophe,['ꞌˈ‘’],,,,
class,eject,(k|q|t|tʃ|ts),,,
class,vowels,[aeiou],,,,
# Individual Letters
sub,b,ɓ,2,,,
sub,b,ɓ,3,,{apostrophe},
sub,{apostrophe},,3,b,,"clean-up",
sub,j,h,2,,,
sub,r,ɾ,2,,,
sub,x,ʃ,2,,,
sub,y,j,2,,,
sub,{apostrophe},ʔ,2,,,
sub,({passthrough}),\1,2,,,
# Digraphs
sub,c,tʃ,3,,h,
sub,h,,3,c,,"clean-up",
sub,t,ts,3,,z,
sub,z,,3,t,,"clean-up",
# Ejectives
ipasub,({eject}) ʔ,\1ʼ,2,,,
# Vowel Length
ipasub,({vowels}) \1,\1 ː,2,,,