/// <summary> /// Determines if the PronounKind is among the semantic categories which are thought of as /// explicitly plural. /// </summary> /// <param name="kind">The PronounKind to test.</param> /// <returns> /// <c>true</c> if the PronounKind is among the semantic categories which are thought of as /// explicitly plural; otherwise, <c>false</c>. /// </returns> public static bool IsPlural(this PronounKind kind) => kind == PronounKind.Plural || kind == PronounKind.PluralReflexive || kind == PronounKind.FirstPersonPlural || kind == PronounKind.FirstPersonPluralReflexive || kind == PronounKind.SecondPersonPluralReflexive || kind == PronounKind.ThirdPersonGenderAmbiguousPlural || kind == PronounKind.ThirdPersonPluralReflexive;
/// <summary> /// Determines if the PronounKind is among the semantic categories which are reflexive. /// </summary> /// <param name="kind">The PronounKind to test.</param> /// <returns> /// <c>true</c> if the PronounKind is among the semantic categories which are reflexive /// false, otherwise. /// </returns> public static bool IsReflexive(this PronounKind kind) => kind == PronounKind.FemaleReflexive || kind == PronounKind.FirstPersonPluralReflexive || kind == PronounKind.GenderAmbiguousReflexive || kind == PronounKind.GenderNeurtralReflexive || kind == PronounKind.MaleReflexive || kind == PronounKind.PluralReflexive || kind == PronounKind.SecondPersonPluralReflexive || kind == PronounKind.SecondPersonSingularReflexive || kind == PronounKind.ThirdPersonPluralReflexive;
/// <summary> /// Determines if the PronounKind is among the semantic categories which are thought of as /// explicitly gender ambiguous. /// </summary> /// <param name="kind">The PronounKind to test.</param> /// <returns> /// <c>true</c> if the PronounKind is among the semantic categories which are thought of as /// explicitly gender ambiguous; otherwise, <c>false</c>. /// </returns> public static bool IsGenderAmbiguous(this PronounKind kind) => !kind.IsFemale() && !kind.IsMale() && !kind.IsNeutral();
/// <summary> /// Determines if the PronounKind is among the semantic categories which are thought of as /// explicitly gender neutral. /// </summary> /// <param name="kind">The PronounKind to test.</param> /// <returns> /// <c>true</c> if the PronounKind is among the semantic categories which are thought of as /// explicitly gender neutral; otherwise, <c>false</c>. /// </returns> public static bool IsNeutral(this PronounKind kind) => kind == PronounKind.GenderNeurtral || kind == PronounKind.GenderNeurtralReflexive;
/// <summary> /// Determines if the PronounKind is among the semantic categories which are thought of as /// explicitly female. /// </summary> /// <param name="kind">The PronounKind to test.</param> /// <returns> /// <c>true</c> if the PronounKind is among the semantic categories which are thought of as /// explicitly female; otherwise, <c>false</c>. /// </returns> public static bool IsFemale(this PronounKind kind) => kind == PronounKind.Female || kind == PronounKind.FemaleReflexive;
/// <summary> /// Determines if the PronounKind is among the semantic categories which are third person. /// </summary> /// <param name="kind">The PronounKind to test.</param> /// <returns> /// <c>true</c> if the PronounKind is among the semantic categories which are third person; /// otherwise, <c>false</c>. /// </returns> public static bool IsThirdPerson(this PronounKind kind) => !kind.IsFirstPerson() && !kind.IsSecondPerson();
/// <summary> /// Determines if the PronounKind is among the semantic categories which are second person. /// </summary> /// <param name="kind">The PronounKind to test.</param> /// <returns> /// <c>true</c> if the PronounKind is among the semantic categories which are second person; /// otherwise, <c>false</c>. /// </returns> public static bool IsSecondPerson(this PronounKind kind) => kind == PronounKind.SecondPerson || kind == PronounKind.SecondPersonPluralReflexive || kind == PronounKind.SecondPersonSingularReflexive;
/// <summary> /// Determines if the PronounKind is among the semantic categories which are first person. /// </summary> /// <param name="kind">The PronounKind to test.</param> /// <returns> /// <c>true</c> if the PronounKind is among the semantic categories which are first person; /// otherwise, <c>false</c>. /// </returns> public static bool IsFirstPerson(this PronounKind kind) => kind == PronounKind.FirstPersonPlural || kind == PronounKind.FirstPersonPluralReflexive || kind == PronounKind.FirstPersonSingular;