public override bool IsTrueFor(Allomorph allomorph) { string neighbourSurface = allomorph.GetSurface(Position); return neighbourSurface.FirstCharEqualsAny(Alphabet.Vowels); }
public override bool IsTrueFor(Allomorph allomorph) { string neighbourSurface = allomorph.GetSurface(Position); return neighbourSurface.LastCharEqualsAny(Operand); }
public override bool IsTrueFor(Allomorph allomorph) { string neighbourSurface = allomorph.GetSurface(Position); char? penultVowel = neighbourSurface.PenultimateOccurrenceOfAny(Alphabet.Vowels); return penultVowel.HasValue && Operand.IndexOf((char) penultVowel) != -1; }