Пример #1
0
 public PronounciationNotSet(SpanishCharComb cc) : base(cc.Comb)
 {
 }
Пример #2
0
 public PronSetTwiceException(SpanishCharComb charComb) : base($"The pronunciation of char combination {charComb} is set twice")
 {
 }
 public static bool IsSemiVowelComb(SpanishCharComb comb) => comb.Comb == "u" || comb.Comb == "i";
 public static bool IsYComb(SpanishCharComb comb) => comb.Comb == "y";
 public static bool IsConsonantComb(SpanishCharComb comb) => !IsVowelComb(comb);
        public static bool IsVowelComb(SpanishCharComb comb)
        {
            var c = comb.Comb;

            return(c.Length == 1 && VowelComb.Contains(c[0]));
        }