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

 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.The API
 returns a list of known entities and general named entities ("Person",
 "Location", "Organization" etc) in a given document. Known entities are
 returned with Wikipedia Id and Wikipedia link, and also Bing Id which can be
 used in Bing Entity Search API. General named entities are returned with
 entity types. If a general named entity is also a known entity, then all
 information regarding it (Wikipedia Id, Bing Id, entity type etc) will be
 returned. See the <a
 href="https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-entity-linking#supported-types-for-named-entity-recognition">Supported
 Entity Types in Text Analytics API</a> for the list of supported Entity
 Types. 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 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 [EntitiesBatchResultV2dot1] operation results.