      specification, the default character encoding for JSON content is effectively always UTF-8.
 
      - parameter utterances: An array of `Utterance` objects that provides the input content that the service is to analyze.
-     - parameter acceptLanguage: The desired language of the response. For two-character arguments, regional variants are treated as their parent language; for example, `en-US` is interpreted as `en`.
+     - parameter contentLanguage: The language of the input text for the request: English or French. Regional variants are treated as their parent
+     language; for example, `en-US` is interpreted as `en`. The input content must match the specified language. Do not
+     submit content that contains both languages. You can use different languages for **Content-Language** and
+     **Accept-Language**. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
+     - parameter acceptLanguage: The desired language of the response. For two-character arguments, regional variants are treated as their parent
+     language; for example, `en-US` is interpreted as `en`. You can use different languages for **Content-Language** and
+     **Accept-Language**.
      - parameter failure: A function executed if an error occurs.
      - parameter success: A function executed with the successful result.
-    */
+     */
     public func toneChat(
         utterances: [Utterance],
         acceptLanguage: String? = nil,

    /**
     Analyze customer engagement tone.

          Use the customer engagement endpoint to analyze the tone of customer service and customer support conversations.
     For each utterance of a conversation, the method reports the most prevalent subset of the following seven tones:
     sad, frustrated, satisfied, excited, polite, impolite, and sympathetic.   If you submit more than 50 utterances,
     the service returns a warning for the overall content and analyzes only the first 50 utterances. If you submit a

import Foundation

/**
 The IBM Watson Tone Analyzer service uses linguistic analysis to detect emotional and language tones in written text.
 The service can analyze tone at both the document and sentence levels. You can use the service to understand how your
 written communications are perceived and then to improve the tone of your communications. Businesses can use the
 service to learn the tone of their customers' communications and to respond to each customer appropriately, or to
 understand and improve their customer conversations.
 */
public class ToneAnalyzer {

