::tones:: = ˥|˧|˧|˨˩|˩˧|˨

% 软腭音
jy -> ju / _ (ŋ|k) 

% 齿龈音
y -> jy / _ (n|t)
œ -> ɵ / _ (n|t)


% other wikipedia rules
yu -> y / _ (n|t)
a -> ɐ / _ (i|u)
ɛ -> e / _ i
ɔ -> o / _ u
u -> o / _ (ŋ|k)             

% handle change for tone duplication at the end of words: ex. aai6
1(::tones::) -> ˥ / _ #
2(::tones::) -> ˧˥ / _ #
3(::tones::) -> ˧ / _ #
4(::tones::) -> ˨˩ / _ #
5(::tones::) -> ˩˧ / _ #
6(::tones::) -> ˨ / _ #    
˩˧ -> ˨˧ / _ #
˧˥ -> ˨˥ / _ #