From 052e3d4ec8f5ca62efd6b3b85d1b69749f79f3d0 Mon Sep 17 00:00:00 2001 From: cuichenx Date: Tue, 17 May 2022 11:14:58 -0700 Subject: [PATCH 1/2] ltc: add module that converts from Baxter's ASCII transcription of Middle Chinese to IPA Full credit goes to Chen Cui (cuichenx) --- README.md | 1 + epitran/data/map/ltc-Latn-bax.csv | 45 +++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 epitran/data/map/ltc-Latn-bax.csv diff --git a/README.md b/README.md index fa52ca6c..35ff6007 100644 --- a/README.md +++ b/README.md @@ -250,6 +250,7 @@ A few notes are in order regarding this data structure: | kmr-Latn-red| Kurmanji (reduced) | | lao-Laoo | Lao | | lsm-Latn | Saamia | +| ltc-Latn-bax | Middle Chinese (Baxter and Sagart 2014) | | mal-Mlym | Malayalam | | mar-Deva | Marathi | | mlt-Latn | Maltese | diff --git a/epitran/data/map/ltc-Latn-bax.csv b/epitran/data/map/ltc-Latn-bax.csv new file mode 100644 index 00000000..ac130b8e --- /dev/null +++ b/epitran/data/map/ltc-Latn-bax.csv @@ -0,0 +1,45 @@ +Orth,Phon +p,p +ph,pʰ +b,b +m,m +pj,pj +phj,pʰj +bj,bj +mj,mj +t,t +th,tʰ +d,d +n,n +tr,ʈ +trh,ʈʰ +dr,ɖ +nr,ɳ +k,k +kh,kʰ +g,g +ng,ŋ +ts,ts +tsh,tsʰ +dz,dz +s,s +z,z +tsr,ʈʂ +tshr,ʈʂʰ +dzr,ɖʐ +sr,ʂ +zr,ʐ +tsy,tɕ +tshy,tɕʰ +dzy,dʑ +sy,ɕ +zy,ʑ +',ʔ +x,x +h,ɣ +hj,ɣj +y,j +l,l +ny,ɲ +wng,ŋʷ +wk,kʷ From ec1abf34d7026c310c3aaabc3813ef4755a1df7c Mon Sep 17 00:00:00 2001 From: kalvinchang Date: Tue, 13 Sep 2022 00:08:14 -0400 Subject: [PATCH 2/2] fix: add affricate ligatures to Middle Chinese mapping table --- epitran/data/map/ltc-Latn-bax.csv | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/epitran/data/map/ltc-Latn-bax.csv b/epitran/data/map/ltc-Latn-bax.csv index ac130b8e..79d61833 100644 --- a/epitran/data/map/ltc-Latn-bax.csv +++ b/epitran/data/map/ltc-Latn-bax.csv @@ -19,19 +19,19 @@ k,k kh,kʰ g,g ng,ŋ -ts,ts -tsh,tsʰ -dz,dz +ts,t͡s +tsh,t͡sʰ +dz,d͡z s,s z,z -tsr,ʈʂ -tshr,ʈʂʰ -dzr,ɖʐ +tsr,ʈ͡ʂ +tshr,ʈ͡ʂʰ +dzr,ɖ͡ʐ sr,ʂ zr,ʐ -tsy,tɕ -tshy,tɕʰ -dzy,dʑ +tsy,t͡ɕ +tshy,t͡ɕʰ +dzy,d͡ʑ sy,ɕ zy,ʑ ',ʔ