def sentiment(show_stats:nil, multi_language_batch_input:nil, custom_headers:nil)
      response = sentiment_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 sentiment(show_stats:nil, multi_language_batch_input:nil, custom_headers:nil)
      response = sentiment_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 numeric score between 0 and 1.

 Scores close to 1 indicate positive sentiment, while scores close to 0
 indicate negative sentiment. A score of 0.5 indicates the lack of sentiment
 (e.g. a factoid statement). See the <a
 href="https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview#supported-languages">Text
 Analytics Documentation</a> for details about the languages that are
 supported by sentiment analysis.

 @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 [Object] operation results.