Skip to content

Commit

Permalink
Fixed high-tone spreading to not touch TAMA chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
coxchristopher committed May 13, 2024
1 parent ef1e24f commit 6232c62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fst/morphology/phonology.xfscript
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ define hToneSpread a a -> á á, a -> á,
i i -> í í, i -> í,
o o -> ó ó, o -> ó,
u u -> ú ú, u -> ú ||
"^H" (consonant)+ _,
"^H" (consonant)+ (unmarkedVowel)+ (consonant)+ _,
"^H" (consonant)+ _ \".",
"^H" (consonant)+ (unmarkedVowel)+ (consonant)+ _ \".",
"^H" (consonant)+ (unmarkedVowel)+
(consonant)+ (unmarkedVowel)+ (consonant)+ _;
(consonant)+ (unmarkedVowel)+ (consonant)+ _ \".";
define hToneSpreadCleanup "^H" -> 0;

regex [ hToneSpreadAfterMid .o. hToneSpread .o. hToneSpreadCleanup ];
Expand Down

0 comments on commit 6232c62

Please sign in to comment.