예제 #1
0
 /// <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;
예제 #2
0
 /// <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;
예제 #3
0
 /// <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();
예제 #4
0
 /// <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;
예제 #5
0
 /// <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;
예제 #6
0
 /// <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();
예제 #7
0
 /// <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;
예제 #8
0
 /// <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;