GetSurface() public method

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