@@ -161,17 +161,17 @@ def get_voice(self, voice, customization_id=None, **kwargs):
161161
162162 Gets information about the specified voice. The information includes the name,
163163 language, gender, and other details about the voice. Specify a customization ID to
164- obtain information for that custom voice model of the specified voice. To list
165- information about all available voices, use the **List voices** method.
164+ obtain information for a custom voice model that is defined for the language of
165+ the specified voice. To list information about all available voices, use the
166+ **List voices** method.
166167 **See also:** [Listing a specific
167168 voice](https://cloud.ibm.com/docs/services/text-to-speech?topic=text-to-speech-voices#listVoice).
168169
169170 :param str voice: The voice for which information is to be returned.
170171 :param str customization_id: The customization ID (GUID) of a custom voice model
171- for which information is to be returned. You must make the request with service
172- credentials created for the instance of the service that owns the custom model.
173- Omit the parameter to see information about the specified voice with no
174- customization.
172+ for which information is to be returned. You must make the request with
173+ credentials for the instance of the service that owns the custom model. Omit the
174+ parameter to see information about the specified voice with no customization.
175175 :param dict headers: A `dict` containing the request headers
176176 :return: A `DetailedResponse` containing the result, headers and HTTP status code.
177177 :rtype: DetailedResponse
@@ -282,14 +282,12 @@ def synthesize(self,
282282 :param str customization_id: The customization ID (GUID) of a custom voice model
283283 to use for the synthesis. If a custom voice model is specified, it is guaranteed
284284 to work only if it matches the language of the indicated voice. You must make the
285- request with service credentials created for the instance of the service that owns
286- the custom model. Omit the parameter to use the specified voice with no
287- customization.
285+ request with credentials for the instance of the service that owns the custom
286+ model. Omit the parameter to use the specified voice with no customization.
288287 :param str accept: The requested format (MIME type) of the audio. You can use the
289288 `Accept` header or the `accept` parameter to specify the audio format. For more
290289 information about specifying an audio format, see **Audio formats (accept types)**
291290 in the method description.
292- Default: `audio/ogg;codecs=opus`.
293291 :param dict headers: A `dict` containing the request headers
294292 :return: A `DetailedResponse` containing the result, headers and HTTP status code.
295293 :rtype: DetailedResponse
@@ -349,9 +347,9 @@ def get_pronunciation(self,
349347 for which the pronunciation is to be returned. The language of a specified custom
350348 model must match the language of the specified voice. If the word is not defined
351349 in the specified custom model, the service returns the default translation for the
352- custom model's language. You must make the request with service credentials
353- created for the instance of the service that owns the custom model. Omit the
354- parameter to see the translation for the specified voice with no customization.
350+ custom model's language. You must make the request with credentials for the
351+ instance of the service that owns the custom model. Omit the parameter to see the
352+ translation for the specified voice with no customization.
355353 :param dict headers: A `dict` containing the request headers
356354 :return: A `DetailedResponse` containing the result, headers and HTTP status code.
357355 :rtype: DetailedResponse
@@ -449,8 +447,8 @@ def list_voice_models(self, language=None, **kwargs):
449447 models](https://cloud.ibm.com/docs/services/text-to-speech?topic=text-to-speech-customModels#cuModelsQueryAll).
450448
451449 :param str language: The language for which custom voice models that are owned by
452- the requesting service credentials are to be returned. Omit the parameter to see
453- all custom voice models that are owned by the requester.
450+ the requesting credentials are to be returned. Omit the parameter to see all
451+ custom voice models that are owned by the requester.
454452 :param dict headers: A `dict` containing the request headers
455453 :return: A `DetailedResponse` containing the result, headers and HTTP status code.
456454 :rtype: DetailedResponse
@@ -509,8 +507,8 @@ def update_voice_model(self,
509507 customization](https://cloud.ibm.com/docs/services/text-to-speech?topic=text-to-speech-customIntro#customIntro).
510508
511509 :param str customization_id: The customization ID (GUID) of the custom voice
512- model. You must make the request with service credentials created for the instance
513- of the service that owns the custom model.
510+ model. You must make the request with credentials for the instance of the service
511+ that owns the custom model.
514512 :param str name: A new name for the custom voice model.
515513 :param str description: A new description for the custom voice model.
516514 :param list[Word] words: An array of `Word` objects that provides the words and
@@ -558,8 +556,8 @@ def get_voice_model(self, customization_id, **kwargs):
558556 model](https://cloud.ibm.com/docs/services/text-to-speech?topic=text-to-speech-customModels#cuModelsQuery).
559557
560558 :param str customization_id: The customization ID (GUID) of the custom voice
561- model. You must make the request with service credentials created for the instance
562- of the service that owns the custom model.
559+ model. You must make the request with credentials for the instance of the service
560+ that owns the custom model.
563561 :param dict headers: A `dict` containing the request headers
564562 :return: A `DetailedResponse` containing the result, headers and HTTP status code.
565563 :rtype: DetailedResponse
@@ -591,8 +589,8 @@ def delete_voice_model(self, customization_id, **kwargs):
591589 model](https://cloud.ibm.com/docs/services/text-to-speech?topic=text-to-speech-customModels#cuModelsDelete).
592590
593591 :param str customization_id: The customization ID (GUID) of the custom voice
594- model. You must make the request with service credentials created for the instance
595- of the service that owns the custom model.
592+ model. You must make the request with credentials for the instance of the service
593+ that owns the custom model.
596594 :param dict headers: A `dict` containing the request headers
597595 :return: A `DetailedResponse` containing the result, headers and HTTP status code.
598596 :rtype: DetailedResponse
@@ -647,8 +645,8 @@ def add_words(self, customization_id, words, **kwargs):
647645 customization](https://cloud.ibm.com/docs/services/text-to-speech?topic=text-to-speech-customIntro#customIntro).
648646
649647 :param str customization_id: The customization ID (GUID) of the custom voice
650- model. You must make the request with service credentials created for the instance
651- of the service that owns the custom model.
648+ model. You must make the request with credentials for the instance of the service
649+ that owns the custom model.
652650 :param list[Word] words: The **Add custom words** method accepts an array of
653651 `Word` objects. Each object provides a word that is to be added or updated for the
654652 custom voice model and the word's translation.
@@ -698,8 +696,8 @@ def list_words(self, customization_id, **kwargs):
698696 model](https://cloud.ibm.com/docs/services/text-to-speech?topic=text-to-speech-customWords#cuWordsQueryModel).
699697
700698 :param str customization_id: The customization ID (GUID) of the custom voice
701- model. You must make the request with service credentials created for the instance
702- of the service that owns the custom model.
699+ model. You must make the request with credentials for the instance of the service
700+ that owns the custom model.
703701 :param dict headers: A `dict` containing the request headers
704702 :return: A `DetailedResponse` containing the result, headers and HTTP status code.
705703 :rtype: DetailedResponse
@@ -754,8 +752,8 @@ def add_word(self,
754752 customization](https://cloud.ibm.com/docs/services/text-to-speech?topic=text-to-speech-customIntro#customIntro).
755753
756754 :param str customization_id: The customization ID (GUID) of the custom voice
757- model. You must make the request with service credentials created for the instance
758- of the service that owns the custom model.
755+ model. You must make the request with credentials for the instance of the service
756+ that owns the custom model.
759757 :param str word: The word that is to be added or updated for the custom voice
760758 model.
761759 :param str translation: The phonetic or sounds-like translation for the word. A
@@ -810,8 +808,8 @@ def get_word(self, customization_id, word, **kwargs):
810808 model](https://cloud.ibm.com/docs/services/text-to-speech?topic=text-to-speech-customWords#cuWordQueryModel).
811809
812810 :param str customization_id: The customization ID (GUID) of the custom voice
813- model. You must make the request with service credentials created for the instance
814- of the service that owns the custom model.
811+ model. You must make the request with credentials for the instance of the service
812+ that owns the custom model.
815813 :param str word: The word that is to be queried from the custom voice model.
816814 :param dict headers: A `dict` containing the request headers
817815 :return: A `DetailedResponse` containing the result, headers and HTTP status code.
@@ -846,8 +844,8 @@ def delete_word(self, customization_id, word, **kwargs):
846844 model](https://cloud.ibm.com/docs/services/text-to-speech?topic=text-to-speech-customWords#cuWordDelete).
847845
848846 :param str customization_id: The customization ID (GUID) of the custom voice
849- model. You must make the request with service credentials created for the instance
850- of the service that owns the custom model.
847+ model. You must make the request with credentials for the instance of the service
848+ that owns the custom model.
851849 :param str word: The word that is to be deleted from the custom voice model.
852850 :param dict headers: A `dict` containing the request headers
853851 :return: A `DetailedResponse` containing the result, headers and HTTP status code.
@@ -1292,15 +1290,15 @@ class VoiceModel(object):
12921290 :attr str name: (optional) The name of the custom voice model.
12931291 :attr str language: (optional) The language identifier of the custom voice model (for
12941292 example, `en-US`).
1295- :attr str owner: (optional) The GUID of the service credentials for the instance of
1296- the service that owns the custom voice model.
1293+ :attr str owner: (optional) The GUID of the credentials for the instance of the
1294+ service that owns the custom voice model.
12971295 :attr str created: (optional) The date and time in Coordinated Universal Time (UTC) at
12981296 which the custom voice model was created. The value is provided in full ISO 8601
12991297 format (`YYYY-MM-DDThh:mm:ss.sTZD`).
13001298 :attr str last_modified: (optional) The date and time in Coordinated Universal Time
1301- (UTC) at which the custom voice model was last modified. Equals `created` when a new
1302- voice model is first added but has yet to be updated. The value is provided in full
1303- ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`).
1299+ (UTC) at which the custom voice model was last modified. The `created` and `updated`
1300+ fields are equal when a voice model is first added but has yet to be updated. The
1301+ value is provided in full ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`).
13041302 :attr str description: (optional) The description of the custom voice model.
13051303 :attr list[Word] words: (optional) An array of `Word` objects that lists the words and
13061304 their translations from the custom voice model. The words are listed in alphabetical
@@ -1327,15 +1325,16 @@ def __init__(self,
13271325 :param str name: (optional) The name of the custom voice model.
13281326 :param str language: (optional) The language identifier of the custom voice model
13291327 (for example, `en-US`).
1330- :param str owner: (optional) The GUID of the service credentials for the instance
1331- of the service that owns the custom voice model.
1328+ :param str owner: (optional) The GUID of the credentials for the instance of the
1329+ service that owns the custom voice model.
13321330 :param str created: (optional) The date and time in Coordinated Universal Time
13331331 (UTC) at which the custom voice model was created. The value is provided in full
13341332 ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`).
13351333 :param str last_modified: (optional) The date and time in Coordinated Universal
1336- Time (UTC) at which the custom voice model was last modified. Equals `created`
1337- when a new voice model is first added but has yet to be updated. The value is
1338- provided in full ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`).
1334+ Time (UTC) at which the custom voice model was last modified. The `created` and
1335+ `updated` fields are equal when a voice model is first added but has yet to be
1336+ updated. The value is provided in full ISO 8601 format
1337+ (`YYYY-MM-DDThh:mm:ss.sTZD`).
13391338 :param str description: (optional) The description of the custom voice model.
13401339 :param list[Word] words: (optional) An array of `Word` objects that lists the
13411340 words and their translations from the custom voice model. The words are listed in
@@ -1431,8 +1430,8 @@ class VoiceModels(object):
14311430
14321431 :attr list[VoiceModel] customizations: An array of `VoiceModel` objects that provides
14331432 information about each available custom voice model. The array is empty if the
1434- requesting service credentials own no custom voice models (if no language is
1435- specified) or own no custom voice models for the specified language.
1433+ requesting credentials own no custom voice models (if no language is specified) or own
1434+ no custom voice models for the specified language.
14361435 """
14371436
14381437 def __init__ (self , customizations ):
@@ -1441,8 +1440,8 @@ def __init__(self, customizations):
14411440
14421441 :param list[VoiceModel] customizations: An array of `VoiceModel` objects that
14431442 provides information about each available custom voice model. The array is empty
1444- if the requesting service credentials own no custom voice models (if no language
1445- is specified) or own no custom voice models for the specified language.
1443+ if the requesting credentials own no custom voice models (if no language is
1444+ specified) or own no custom voice models for the specified language.
14461445 """
14471446 self .customizations = customizations
14481447
0 commit comments