/// <summary>Determines if the two provided Noun instances are similar.</summary> /// <param name="first">The first Noun.</param> /// <param name="second">The second Noun.</param> /// <returns><c>true</c> if the first Noun is similar to the second; otherwise, <c>false</c>.</returns> private static Similarity IsSimilarTo(this Noun first, Noun second) => Similarity.FromBoolean(Equals(first, second) || (first?.GetSynonyms().Contains(second?.Text) ?? false));