public override float CalculateDistance(Phoneme other) { Consonant consonant = other as Consonant; if (consonant != null) { return(Math.Abs(PlaceValue - consonant.PlaceValue) + Math.Abs(MannerValue - consonant.MannerValue)); } return(float.MaxValue); }
public ConsonantCluster(Consonant first, Consonant second) : base(first) { IsGeminate = (first == second); Second = second; }
public Consonant(Consonant consonant) : this(consonant.Voicing, consonant.Place, consonant.Manner, consonant.Grapheme, consonant.IPA, consonant.Occurence) { }