Skip to content

Commit

Permalink
Further fixes to rightward high-tone spreading (argh)
Browse files Browse the repository at this point in the history
  • Loading branch information
coxchristopher committed May 26, 2024
1 parent ffd4982 commit db8657a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/fst/morphology/phonology.xfscript
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down

0 comments on commit db8657a

Please sign in to comment.