GetSurface() public method

public GetSurface ( Position location ) : string
location Position
return string
Ejemplo n.º 1
0
 public override bool IsTrueFor(Allomorph allomorph)
 {
     string neighbourSurface = allomorph.GetSurface(Position);
     return neighbourSurface.FirstCharEqualsAny(Alphabet.Vowels);
 }
Ejemplo n.º 2
0
 public override bool IsTrueFor(Allomorph allomorph)
 {
     string neighbourSurface = allomorph.GetSurface(Position);
     return neighbourSurface.LastCharEqualsAny(Operand);
 }
Ejemplo n.º 3
0
 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;
 }