in src/cs/Microsoft.PhoneticMatching/Phone.cs [126:159]
public Phone(
PhoneType type,
Phonation phonation,
PlaceOfArticulation place,
MannerOfArticulation manner,
VowelHeight height,
VowelBackness backness,
VowelRoundedness roundedness,
bool isRhotic,
bool isSyllabic)
{
this.Type = type;
this.Phonation = phonation;
this.IsSyllabic = isSyllabic;
if (type == PhoneType.Vowel)
{
this.Height = height;
this.Backness = backness;
this.Roundedness = roundedness;
this.IsRhotic = isRhotic;
this.Place = null;
this.Manner = null;
}
else
{
this.Height = null;
this.Backness = null;
this.Roundedness = null;
this.IsRhotic = null;
this.Place = place;
this.Manner = manner;
}
}