From db8657a3c36b07a7b6c0bd3e189e09979df34a0b Mon Sep 17 00:00:00 2001 From: Christopher Cox Date: Sat, 25 May 2024 22:07:27 -0400 Subject: [PATCH] Further fixes to rightward high-tone spreading (argh) --- src/fst/morphology/phonology.xfscript | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/fst/morphology/phonology.xfscript b/src/fst/morphology/phonology.xfscript index da2f192..c0d729e 100644 --- a/src/fst/morphology/phonology.xfscript +++ b/src/fst/morphology/phonology.xfscript @@ -50,10 +50,12 @@ define hToneSpread a a -> á á, a -> á, i i -> í í, i -> í, o o -> ó ó, o -> ó, u u -> ú ú, u -> ú || - "^H" (consonant)+ _ \".", - "^H" (consonant)+ (unmarkedVowel)+ (consonant)+ _ \".", + "^H" (consonant)+ _ (consonant) ".", "^H" (consonant)+ (unmarkedVowel)+ - (consonant)+ (unmarkedVowel)+ (consonant)+ _ \"."; + (consonant)+ _ (consonant) ".", + "^H" (consonant)+ (unmarkedVowel)+ + (consonant)+ (unmarkedVowel)+ + (consonant)+ _ (consonant) "."; define hToneSpreadCleanup "^H" -> 0; regex [ hToneSpreadAfterMid .o. hToneSpread .o. hToneSpreadCleanup ];