1
0
forked from GitHub/gf-rgl

simplify the pattern in ia2e

This commit is contained in:
Krasimir Angelov
2021-12-14 09:20:06 +01:00
committed by Meowyam
parent c81edf3fbb
commit 7da1cc310b

View File

@@ -469,7 +469,7 @@ resource ResBul = ParamX ** open Prelude, Predef in {
ia2e : Str -> Str = -- to be used when the next syllable has vowel different from "а","ъ","о" or "у"
\s -> case s of {
x@(_*+_) + "я" + y@(("б"|"в"|"г"|"д"|"ж"|"з"|"к"|"л"|"м"|"н"|"п"|"р"|"с"|"т"|"ф"|"х"|"ц"|"ч"|"ш")*)
x + "я" + y@(["бвгджзклмнпрстфхцчш"]*)
=> x+"е"+y;
_ => s
};