/// <summary> /// Get proper nouns in a string /// </summary> /// Returns all of the proper nouns in a string. Proper nouns are named /// entities such as "Hilton". /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='input'> /// Input string /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <string> ProperNounsAsync(this IWords operations, string input, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ProperNounsWithHttpMessagesAsync(input, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }