def entities(show_stats:nil, multi_language_batch_input:nil, custom_headers:nil)
      response = entities_async(show_stats:show_stats, multi_language_batch_input:multi_language_batch_input, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def entities(show_stats:nil, multi_language_batch_input:nil, custom_headers:nil)
      response = entities_async(show_stats:show_stats, multi_language_batch_input:multi_language_batch_input, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
The API returns a list of recognized entities in a given document.

 To get even more information on each recognized entity we recommend using the
 Bing Entity Search API by querying for the recognized entities names. See the
 <a
 href="https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/text-analytics-supported-languages">Supported
 languages in Text Analytics API</a> for the list of enabled languages.

 @param show_stats [Boolean] (optional) if set to true, response will contain
 input and document level statistics.
 @param multi_language_batch_input [MultiLanguageBatchInput] Collection of
 documents to analyze.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [EntitiesBatchResult] operation results.