lib/ting/data/rules.yaml
hanyu:
- match: (j|q|x)ü
subst: \1u
wadegiles:
- match: pie\Z
subst: pieh
- match: (ts|ch)`eh
subst: \1`e
- match: ts`ih
subst: tz`u
- match: (k|k`|h)e\Z
subst: \1o
- match: (k|k`)ui\Z
subst: \1uei
- match: (sh|ch)o\Z
subst: \1e
- match: (ch|ch`|ts`|t|t`|l|n|j|s)uo
subst: \1o
- match: tsih
subst: tzu
- match: sih
subst: ssu
tongyong:
- match: feng
subst: fong
palladius:
- match: (ц|цз|с)ы([^и].{0,2})
subst: \1\2
- match: (ц|цз|с)ыи
subst: \1ы
- match: (ц|цз|с)и(.{1,3})
subst: \1\2
- match: (ц|г|х|к|л|н|ж|чж|цз)уо
subst: \1о
- match: хуй
subst: хуэй
- match: цзюэ
subst: цзюе