From a940ed0542642fadd183568aee74b52e0b513b22 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Sat, 25 Feb 2017 18:07:05 +0000 Subject: [PATCH] en: Use a new /O2/ phoneme for the CLOTH vowel. --- dictsource/en_list | 8 +++----- dictsource/en_rules | 36 +++++++++++++++++------------------- docs/languages/gmw/en.md | 7 +------ phsource/ph_english | 7 +++++++ phsource/ph_english_us | 7 +++++++ 5 files changed, 35 insertions(+), 30 deletions(-) diff --git a/dictsource/en_list b/dictsource/en_list index c0e16b63..7eea5038 100644 --- a/dictsource/en_list +++ b/dictsource/en_list @@ -1690,7 +1690,6 @@ diabetes daI|@b'i:ti:z diablo di:'A:bloU diabolo daI'ab@loU diagnose $3 -//?3 dialog daI|@lO:g dialysis daI'al@sIs diameter daI'amI2t3 diaper daIp3 @@ -2473,7 +2472,7 @@ lorenz l0r@nts los ,l0s $only losing lu:zIN // misspell loquat loUkw0t -?3 lost lOst +lost lO2st loudmouth $alt1 lugubrious l@g'u:brI2@s lukewarm lu:kwO@m @@ -4073,7 +4072,7 @@ Bogotá bogota $text Bologna b@loUn;@ $capital Boötes boU'oUti:z Boötis boU'oUtI#s -?3 Boston bOst@n +Boston bO2st@n ?!3 Boulogne bUl'OIn Brisbane brIsb@n Bucharest bu:ka#r'Est @@ -5443,8 +5442,7 @@ go ,goU $strend2 $only goes %goUz $strend2 $only goeth goU@T $u+ going ,goUIN $strend2 $only -gone %g0n $strend2 $only -?3 gone %gOn $strend2 $only +gone %gO2n $strend2 $only went %wEnt $strend2 $only do du: $verbf diff --git a/dictsource/en_rules b/dictsource/en_rules index 13a2d455..d6a9ed54 100644 --- a/dictsource/en_rules +++ b/dictsource/en_rules @@ -4169,7 +4169,7 @@ _it_separ) ate (_ @t &t) ling (_ _lIN &l) ling (_S4vd IN linux lInVks -?3 _) lo (gK lO + _) lo (gK lO2 @) lo (gous =l@ lu (na lu: &) ly (_S2i l%i @@ -4532,13 +4532,13 @@ multip) ly laI f) oe (tA i: p) oe (ti oUE oe (ve ,oU'E -?3 &) o (ff O -?3 _) o (ff O -?3 c) o (ff O + &) o (ff O2 + _) o (ff O2 + c) o (ff O2 of (fen @ o (ffic 0 o (ffici @ -?3 o (ft O + o (ft O2 o (gan_ oU @l) oge (_ 0g &) o (gen_ @ @@ -4585,9 +4585,9 @@ multip) ly laI tr) o (jan oU o (ku oU o (ky_ oU -?3 g) o (ng O -?3 r) o (ng O -?3 s) o (ng O + g) o (ng O2 + r) o (ng O2 + s) o (ng O2 t) o (ngu V o (que_ oU o (shA_ oU @@ -5023,12 +5023,12 @@ multip) ly laI @) oso (phic @s'0 p) oss (ess @z gr) oss oUs -?3 b) oss Os -?3 l) oss Os -?3 m) oss Os -?3 r) oss Os -?3 c) os (t Os -?3 fr) os (t Os + b) oss O2s + l) oss O2s + m) oss O2s + r) oss O2s + c) os (t O2s + fr) os (t O2s cl) oset 0zI#t h) ost (_ oUst _h) ost (il 0st @@ -5063,7 +5063,7 @@ multip) ly laI p) ot (enti @t b) oth oUT betr) oth oUD -?3 cl) oth OT + cl) oth O2T cl) othe oUD b) oth (er 0D _r) oth (er 0D @@ -5108,8 +5108,7 @@ multip) ly laI ough oU b) ough aU b) ough (t O: - c) ough 0f -?3 c) ough Of + c) ough O2f d) ough oU d) ough (t aU h) ough oU @@ -5126,8 +5125,7 @@ multip) ly laI dr) ough aU thr) ough u: or) ough @ - tr) ough 0f -?3 tr) ough Of + tr) ough O2f wr) ough O: t) ough Vf ou (i u: diff --git a/docs/languages/gmw/en.md b/docs/languages/gmw/en.md index 69b2b918..80db81b0 100644 --- a/docs/languages/gmw/en.md +++ b/docs/languages/gmw/en.md @@ -85,12 +85,7 @@ merged with the other. | Lexical Set | en | RP | GenAm | |-------------|-------|-------|-------| | BATH | `aa` | ɑː | æ | -| CLOTH | `0` | ɒ | ɔ | - -__NOTE:__ eSpeak NG does not have a distinct transcription for the CLOTH lexical -set. As such, it can only represent American English accents with the COT-CAUGHT -merger where COT is the American PALM-LOT merger and CAUGHT is the American -THOUGHT-CLOTH merger. +| CLOTH | `O2` | ɒ | ɔ | ## References diff --git a/phsource/ph_english b/phsource/ph_english index 76386758..3e4c7eb6 100644 --- a/phsource/ph_english +++ b/phsource/ph_english @@ -304,6 +304,13 @@ phoneme 02 // becomes V in en-us endphoneme +phoneme O2 + vwl starttype #o endtype #o + length 140 + ChangePhoneme(0) +endphoneme + + phoneme V vwl starttype #a endtype #@ length 140 diff --git a/phsource/ph_english_us b/phsource/ph_english_us index 9f2874bc..4e7e9a34 100644 --- a/phsource/ph_english_us +++ b/phsource/ph_english_us @@ -143,6 +143,13 @@ phoneme 02 // becomes V in en-us endphoneme +phoneme O2 + vwl starttype #o endtype #o + length 220 + ChangePhoneme(O:) +endphoneme + + phoneme V vwl starttype #a endtype #@ length 170