diff --git a/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/CreateLanguageModelOptions.java b/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/CreateLanguageModelOptions.java index 5897cef37c..51073b4b98 100644 --- a/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/CreateLanguageModelOptions.java +++ b/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/CreateLanguageModelOptions.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2018, 2020. + * (C) Copyright IBM Corp. 2021. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at @@ -21,30 +21,44 @@ public class CreateLanguageModelOptions extends GenericModel { * The name of the base language model that is to be customized by the new custom language model. * The new custom model can be used only with the base model that it customizes. * - *

To determine whether a base model supports language model customization, use the **Get a - * model** method and check that the attribute `custom_language_model` is set to `true`. You can - * also refer to [Language support for - * customization](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-customization#languageSupport). + *

To determine whether a base model supports language model customization, use the [Get a + * model](#getmodel) method and check that the attribute `custom_language_model` is set to `true`. + * You can also refer to [Language support for + * customization](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-custom-support#custom-language-support). */ public interface BaseModelName { + /** ar-MS_Telephony. */ + String AR_MS_TELEPHONY = "ar-MS_Telephony"; /** de-DE_BroadbandModel. */ String DE_DE_BROADBANDMODEL = "de-DE_BroadbandModel"; /** de-DE_NarrowbandModel. */ String DE_DE_NARROWBANDMODEL = "de-DE_NarrowbandModel"; + /** de-DE_Telephony. */ + String DE_DE_TELEPHONY = "de-DE_Telephony"; /** en-AU_BroadbandModel. */ String EN_AU_BROADBANDMODEL = "en-AU_BroadbandModel"; /** en-AU_NarrowbandModel. */ String EN_AU_NARROWBANDMODEL = "en-AU_NarrowbandModel"; + /** en-AU_Telephony. */ + String EN_AU_TELEPHONY = "en-AU_Telephony"; /** en-GB_BroadbandModel. */ String EN_GB_BROADBANDMODEL = "en-GB_BroadbandModel"; /** en-GB_NarrowbandModel. */ String EN_GB_NARROWBANDMODEL = "en-GB_NarrowbandModel"; + /** en-GB_Telephony. */ + String EN_GB_TELEPHONY = "en-GB_Telephony"; + /** en-IN_Telephony. */ + String EN_IN_TELEPHONY = "en-IN_Telephony"; /** en-US_BroadbandModel. */ String EN_US_BROADBANDMODEL = "en-US_BroadbandModel"; + /** en-US_Multimedia. */ + String EN_US_MULTIMEDIA = "en-US_Multimedia"; /** en-US_NarrowbandModel. */ String EN_US_NARROWBANDMODEL = "en-US_NarrowbandModel"; /** en-US_ShortForm_NarrowbandModel. */ String EN_US_SHORTFORM_NARROWBANDMODEL = "en-US_ShortForm_NarrowbandModel"; + /** en-US_Telephony. */ + String EN_US_TELEPHONY = "en-US_Telephony"; /** es-AR_BroadbandModel. */ String ES_AR_BROADBANDMODEL = "es-AR_BroadbandModel"; /** es-AR_NarrowbandModel. */ @@ -61,6 +75,8 @@ public interface BaseModelName { String ES_ES_BROADBANDMODEL = "es-ES_BroadbandModel"; /** es-ES_NarrowbandModel. */ String ES_ES_NARROWBANDMODEL = "es-ES_NarrowbandModel"; + /** es-ES_Telephony. */ + String ES_ES_TELEPHONY = "es-ES_Telephony"; /** es-MX_BroadbandModel. */ String ES_MX_BROADBANDMODEL = "es-MX_BroadbandModel"; /** es-MX_NarrowbandModel. */ @@ -73,22 +89,40 @@ public interface BaseModelName { String FR_CA_BROADBANDMODEL = "fr-CA_BroadbandModel"; /** fr-CA_NarrowbandModel. */ String FR_CA_NARROWBANDMODEL = "fr-CA_NarrowbandModel"; + /** fr-CA_Telephony. */ + String FR_CA_TELEPHONY = "fr-CA_Telephony"; /** fr-FR_BroadbandModel. */ String FR_FR_BROADBANDMODEL = "fr-FR_BroadbandModel"; + /** fr-FR_Multimedia. */ + String FR_FR_MULTIMEDIA = "fr-FR_Multimedia"; /** fr-FR_NarrowbandModel. */ String FR_FR_NARROWBANDMODEL = "fr-FR_NarrowbandModel"; + /** fr-FR_Telephony. */ + String FR_FR_TELEPHONY = "fr-FR_Telephony"; + /** hi-IN_Telephony. */ + String HI_IN_TELEPHONY = "hi-IN_Telephony"; /** it-IT_BroadbandModel. */ String IT_IT_BROADBANDMODEL = "it-IT_BroadbandModel"; /** it-IT_NarrowbandModel. */ String IT_IT_NARROWBANDMODEL = "it-IT_NarrowbandModel"; + /** it-IT_Telephony. */ + String IT_IT_TELEPHONY = "it-IT_Telephony"; /** ja-JP_BroadbandModel. */ String JA_JP_BROADBANDMODEL = "ja-JP_BroadbandModel"; + /** ja-JP_Multimedia. */ + String JA_JP_MULTIMEDIA = "ja-JP_Multimedia"; /** ja-JP_NarrowbandModel. */ String JA_JP_NARROWBANDMODEL = "ja-JP_NarrowbandModel"; /** ko-KR_BroadbandModel. */ String KO_KR_BROADBANDMODEL = "ko-KR_BroadbandModel"; + /** ko-KR_Multimedia. */ + String KO_KR_MULTIMEDIA = "ko-KR_Multimedia"; /** ko-KR_NarrowbandModel. */ String KO_KR_NARROWBANDMODEL = "ko-KR_NarrowbandModel"; + /** ko-KR_Telephony. */ + String KO_KR_TELEPHONY = "ko-KR_Telephony"; + /** nl-BE_Telephony. */ + String NL_BE_TELEPHONY = "nl-BE_Telephony"; /** nl-NL_BroadbandModel. */ String NL_NL_BROADBANDMODEL = "nl-NL_BroadbandModel"; /** nl-NL_NarrowbandModel. */ @@ -97,6 +131,8 @@ public interface BaseModelName { String PT_BR_BROADBANDMODEL = "pt-BR_BroadbandModel"; /** pt-BR_NarrowbandModel. */ String PT_BR_NARROWBANDMODEL = "pt-BR_NarrowbandModel"; + /** pt-BR_Telephony. */ + String PT_BR_TELEPHONY = "pt-BR_Telephony"; } protected String name; @@ -225,10 +261,10 @@ public String name() { *

The name of the base language model that is to be customized by the new custom language * model. The new custom model can be used only with the base model that it customizes. * - *

To determine whether a base model supports language model customization, use the **Get a - * model** method and check that the attribute `custom_language_model` is set to `true`. You can - * also refer to [Language support for - * customization](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-customization#languageSupport). + *

To determine whether a base model supports language model customization, use the [Get a + * model](#getmodel) method and check that the attribute `custom_language_model` is set to `true`. + * You can also refer to [Language support for + * customization](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-custom-support#custom-language-support). * * @return the baseModelName */ @@ -241,20 +277,18 @@ public String baseModelName() { * *

The dialect of the specified language that is to be used with the custom language model. For * most languages, the dialect matches the language of the base model by default. For example, - * `en-US` is used for either of the US English language models. + * `en-US` is used for the US English language models. All dialect values are case-insensitive. * - *

For a Spanish language, the service creates a custom language model that is suited for - * speech in one of the following dialects: * `es-ES` for Castilian Spanish (`es-ES` models) * - * `es-LA` for Latin American Spanish (`es-AR`, `es-CL`, `es-CO`, and `es-PE` models) * `es-US` - * for Mexican (North American) Spanish (`es-MX` models) + *

The parameter is meaningful only for Spanish language models, for which you can always + * safely omit the parameter to have the service create the correct mapping. For Spanish, the + * service creates a custom language model that is suited for speech in one of the following + * dialects: * `es-ES` for Castilian Spanish (`es-ES` models) * `es-LA` for Latin American Spanish + * (`es-AR`, `es-CL`, `es-CO`, and `es-PE` models) * `es-US` for Mexican (North American) Spanish + * (`es-MX` models) * - *

The parameter is meaningful only for Spanish models, for which you can always safely omit - * the parameter to have the service create the correct mapping. - * - *

If you specify the `dialect` parameter for non-Spanish language models, its value must match - * the language of the base model. If you specify the `dialect` for Spanish language models, its - * value must match one of the defined mappings as indicated (`es-ES`, `es-LA`, or `es-MX`). All - * dialect values are case-insensitive. + *

If you specify the `dialect` parameter for a non-Spanish language model, its value must + * match the language of the base model. If you specify the `dialect` for a Spanish language + * model, its value must match one of the defined mappings (`es-ES`, `es-LA`, or `es-MX`). * * @return the dialect */ diff --git a/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/GetModelOptions.java b/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/GetModelOptions.java index 960006e585..576036bb69 100644 --- a/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/GetModelOptions.java +++ b/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/GetModelOptions.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2018, 2021. + * (C) Copyright IBM Corp. 2021. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at @@ -18,9 +18,9 @@ public class GetModelOptions extends GenericModel { /** - * The identifier of the model in the form of its name from the output of the **Get a model** - * method. (**Note:** The model `ar-AR_BroadbandModel` is deprecated; use `ar-MS_BroadbandModel` - * instead.). + * The identifier of the model in the form of its name from the output of the [List + * models](#listmodels) method. (**Note:** The model `ar-AR_BroadbandModel` is deprecated; use + * `ar-MS_BroadbandModel` instead.). */ public interface ModelId { /** ar-AR_BroadbandModel. */ @@ -47,6 +47,8 @@ public interface ModelId { String EN_GB_NARROWBANDMODEL = "en-GB_NarrowbandModel"; /** en-GB_Telephony. */ String EN_GB_TELEPHONY = "en-GB_Telephony"; + /** en-IN_Telephony. */ + String EN_IN_TELEPHONY = "en-IN_Telephony"; /** en-US_BroadbandModel. */ String EN_US_BROADBANDMODEL = "en-US_BroadbandModel"; /** en-US_Multimedia. */ @@ -91,10 +93,14 @@ public interface ModelId { String FR_CA_TELEPHONY = "fr-CA_Telephony"; /** fr-FR_BroadbandModel. */ String FR_FR_BROADBANDMODEL = "fr-FR_BroadbandModel"; + /** fr-FR_Multimedia. */ + String FR_FR_MULTIMEDIA = "fr-FR_Multimedia"; /** fr-FR_NarrowbandModel. */ String FR_FR_NARROWBANDMODEL = "fr-FR_NarrowbandModel"; /** fr-FR_Telephony. */ String FR_FR_TELEPHONY = "fr-FR_Telephony"; + /** hi-IN_Telephony. */ + String HI_IN_TELEPHONY = "hi-IN_Telephony"; /** it-IT_BroadbandModel. */ String IT_IT_BROADBANDMODEL = "it-IT_BroadbandModel"; /** it-IT_NarrowbandModel. */ @@ -103,12 +109,20 @@ public interface ModelId { String IT_IT_TELEPHONY = "it-IT_Telephony"; /** ja-JP_BroadbandModel. */ String JA_JP_BROADBANDMODEL = "ja-JP_BroadbandModel"; + /** ja-JP_Multimedia. */ + String JA_JP_MULTIMEDIA = "ja-JP_Multimedia"; /** ja-JP_NarrowbandModel. */ String JA_JP_NARROWBANDMODEL = "ja-JP_NarrowbandModel"; /** ko-KR_BroadbandModel. */ String KO_KR_BROADBANDMODEL = "ko-KR_BroadbandModel"; + /** ko-KR_Multimedia. */ + String KO_KR_MULTIMEDIA = "ko-KR_Multimedia"; /** ko-KR_NarrowbandModel. */ String KO_KR_NARROWBANDMODEL = "ko-KR_NarrowbandModel"; + /** ko-KR_Telephony. */ + String KO_KR_TELEPHONY = "ko-KR_Telephony"; + /** nl-BE_Telephony. */ + String NL_BE_TELEPHONY = "nl-BE_Telephony"; /** nl-NL_BroadbandModel. */ String NL_NL_BROADBANDMODEL = "nl-NL_BroadbandModel"; /** nl-NL_NarrowbandModel. */ @@ -185,9 +199,9 @@ public Builder newBuilder() { /** * Gets the modelId. * - *

The identifier of the model in the form of its name from the output of the **Get a model** - * method. (**Note:** The model `ar-AR_BroadbandModel` is deprecated; use `ar-MS_BroadbandModel` - * instead.). + *

The identifier of the model in the form of its name from the output of the [List + * models](#listmodels) method. (**Note:** The model `ar-AR_BroadbandModel` is deprecated; use + * `ar-MS_BroadbandModel` instead.). * * @return the modelId */ diff --git a/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/ListAcousticModelsOptions.java b/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/ListAcousticModelsOptions.java index 04260c443b..33ac62e1ab 100644 --- a/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/ListAcousticModelsOptions.java +++ b/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/ListAcousticModelsOptions.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2018, 2021. + * (C) Copyright IBM Corp. 2021. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ public class ListAcousticModelsOptions extends GenericModel { * `ar-MS` instead.) * *

To determine the languages for which customization is available, see [Language support for - * customization](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-customization#languageSupport). + * customization](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-custom-support#custom-language-support). */ public interface Language { /** ar-AR. */ @@ -37,6 +37,8 @@ public interface Language { String EN_AU = "en-AU"; /** en-GB. */ String EN_GB = "en-GB"; + /** en-IN. */ + String EN_IN = "en-IN"; /** en-US. */ String EN_US = "en-US"; /** es-AR. */ @@ -55,12 +57,16 @@ public interface Language { String FR_CA = "fr-CA"; /** fr-FR. */ String FR_FR = "fr-FR"; + /** hi-IN. */ + String HI_IN = "hi-IN"; /** it-IT. */ String IT_IT = "it-IT"; /** ja-JP. */ String JA_JP = "ja-JP"; /** ko-KR. */ String KO_KR = "ko-KR"; + /** nl-BE. */ + String NL_BE = "nl-BE"; /** nl-NL. */ String NL_NL = "nl-NL"; /** pt-BR. */ @@ -125,7 +131,7 @@ public Builder newBuilder() { * `ar-MS` instead.) * *

To determine the languages for which customization is available, see [Language support for - * customization](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-customization#languageSupport). + * customization](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-custom-support#custom-language-support). * * @return the language */ diff --git a/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/ListLanguageModelsOptions.java b/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/ListLanguageModelsOptions.java index 8adf9f876a..1f99b86d7b 100644 --- a/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/ListLanguageModelsOptions.java +++ b/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/ListLanguageModelsOptions.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2018, 2021. + * (C) Copyright IBM Corp. 2021. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at @@ -24,7 +24,7 @@ public class ListLanguageModelsOptions extends GenericModel { * `ar-MS` instead.) * *

To determine the languages for which customization is available, see [Language support for - * customization](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-customization#languageSupport). + * customization](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-custom-support#custom-language-support). */ public interface Language { /** ar-AR. */ @@ -37,6 +37,8 @@ public interface Language { String EN_AU = "en-AU"; /** en-GB. */ String EN_GB = "en-GB"; + /** en-IN. */ + String EN_IN = "en-IN"; /** en-US. */ String EN_US = "en-US"; /** es-AR. */ @@ -55,12 +57,16 @@ public interface Language { String FR_CA = "fr-CA"; /** fr-FR. */ String FR_FR = "fr-FR"; + /** hi-IN. */ + String HI_IN = "hi-IN"; /** it-IT. */ String IT_IT = "it-IT"; /** ja-JP. */ String JA_JP = "ja-JP"; /** ko-KR. */ String KO_KR = "ko-KR"; + /** nl-BE. */ + String NL_BE = "nl-BE"; /** nl-NL. */ String NL_NL = "nl-NL"; /** pt-BR. */ @@ -125,7 +131,7 @@ public Builder newBuilder() { * `ar-MS` instead.) * *

To determine the languages for which customization is available, see [Language support for - * customization](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-customization#languageSupport). + * customization](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-custom-support#custom-language-support). * * @return the language */ diff --git a/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/RecognizeOptions.java b/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/RecognizeOptions.java index b550b11496..72c6a8ce7b 100644 --- a/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/RecognizeOptions.java +++ b/speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/RecognizeOptions.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2016, 2021. + * (C) Copyright IBM Corp. 2021. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at @@ -26,8 +26,9 @@ public class RecognizeOptions extends GenericModel { /** * The identifier of the model that is to be used for the recognition request. (**Note:** The - * model `ar-AR_BroadbandModel` is deprecated; use `ar-MS_BroadbandModel` instead.) See [Languages - * and models](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-models) and + * model `ar-AR_BroadbandModel` is deprecated; use `ar-MS_BroadbandModel` instead.) See + * [Previous-generation languages and + * models](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-models) and * [Next-generation languages and * models](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-models-ng). */ @@ -50,6 +51,8 @@ public interface Model { String EN_AU_NARROWBANDMODEL = "en-AU_NarrowbandModel"; /** en-AU_Telephony. */ String EN_AU_TELEPHONY = "en-AU_Telephony"; + /** en-IN_Telephony. */ + String EN_IN_TELEPHONY = "en-IN_Telephony"; /** en-GB_BroadbandModel. */ String EN_GB_BROADBANDMODEL = "en-GB_BroadbandModel"; /** en-GB_NarrowbandModel. */ @@ -100,10 +103,14 @@ public interface Model { String FR_CA_TELEPHONY = "fr-CA_Telephony"; /** fr-FR_BroadbandModel. */ String FR_FR_BROADBANDMODEL = "fr-FR_BroadbandModel"; + /** fr-FR_Multimedia. */ + String FR_FR_MULTIMEDIA = "fr-FR_Multimedia"; /** fr-FR_NarrowbandModel. */ String FR_FR_NARROWBANDMODEL = "fr-FR_NarrowbandModel"; /** fr-FR_Telephony. */ String FR_FR_TELEPHONY = "fr-FR_Telephony"; + /** hi-IN_Telephony. */ + String HI_IN_TELEPHONY = "hi-IN_Telephony"; /** it-IT_BroadbandModel. */ String IT_IT_BROADBANDMODEL = "it-IT_BroadbandModel"; /** it-IT_NarrowbandModel. */ @@ -112,12 +119,20 @@ public interface Model { String IT_IT_TELEPHONY = "it-IT_Telephony"; /** ja-JP_BroadbandModel. */ String JA_JP_BROADBANDMODEL = "ja-JP_BroadbandModel"; + /** ja-JP_Multimedia. */ + String JA_JP_MULTIMEDIA = "ja-JP_Multimedia"; /** ja-JP_NarrowbandModel. */ String JA_JP_NARROWBANDMODEL = "ja-JP_NarrowbandModel"; /** ko-KR_BroadbandModel. */ String KO_KR_BROADBANDMODEL = "ko-KR_BroadbandModel"; + /** ko-KR_Multimedia. */ + String KO_KR_MULTIMEDIA = "ko-KR_Multimedia"; /** ko-KR_NarrowbandModel. */ String KO_KR_NARROWBANDMODEL = "ko-KR_NarrowbandModel"; + /** ko-KR_Telephony. */ + String KO_KR_TELEPHONY = "ko-KR_Telephony"; + /** nl-BE_Telephony. */ + String NL_BE_TELEPHONY = "nl-BE_Telephony"; /** nl-NL_BroadbandModel. */ String NL_NL_BROADBANDMODEL = "nl-NL_BroadbandModel"; /** nl-NL_NarrowbandModel. */ @@ -623,8 +638,9 @@ public String contentType() { * Gets the model. * *

The identifier of the model that is to be used for the recognition request. (**Note:** The - * model `ar-AR_BroadbandModel` is deprecated; use `ar-MS_BroadbandModel` instead.) See [Languages - * and models](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-models) and + * model `ar-AR_BroadbandModel` is deprecated; use `ar-MS_BroadbandModel` instead.) See + * [Previous-generation languages and + * models](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-models) and * [Next-generation languages and * models](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-models-ng). * @@ -838,7 +854,8 @@ public Boolean profanityFilter() { * final transcript of a recognition request. For US English, the service also converts certain * keyword strings to punctuation symbols. By default, the service performs no smart formatting. * - *

**Note:** Applies to US English, Japanese, and Spanish transcription only. + *

**Beta:** The parameter is beta functionality. Applies to US English, Japanese, and Spanish + * transcription only. * *

See [Smart * formatting](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-formatting#smart-formatting). @@ -855,11 +872,13 @@ public Boolean smartFormatting() { *

If `true`, the response includes labels that identify which words were spoken by which * participants in a multi-person exchange. By default, the service returns no speaker labels. * Setting `speaker_labels` to `true` forces the `timestamps` parameter to be `true`, regardless - * of whether you specify `false` for the parameter. * For previous-generation models, can be used - * for US English, Australian English, German, Japanese, Korean, and Spanish (both broadband and - * narrowband models) and UK English (narrowband model) transcription only. * For next-generation - * models, can be used for English (Australian, UK, and US), German, and Spanish transcription - * only. + * of whether you specify `false` for the parameter. + * + *

**Beta:** The parameter is beta functionality. * For previous-generation models, the + * parameter can be used for Australian English, US English, German, Japanese, Korean, and Spanish + * (both broadband and narrowband models) and UK English (narrowband model) transcription only. * + * For next-generation models, the parameter can be used for English (Australian, Indian, UK, and + * US), German, Japanese, Korean, and Spanish transcription only. * *

Restrictions and limitations apply to the use of speaker labels for both types of models. * See [Speaker @@ -891,7 +910,11 @@ public String customizationId() { * grammar, you must also use the `language_customization_id` parameter to specify the name of the * custom language model for which the grammar is defined. The service recognizes only strings * that are recognized by the specified grammar; it does not recognize other custom words from the - * model's words resource. See [Using a grammar for speech + * model's words resource. + * + *

**Beta:** The parameter is beta functionality. + * + *

See [Using a grammar for speech * recognition](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-grammarUse). * * @return the grammarName @@ -913,7 +936,8 @@ public String grammarName() { * disables keyword spotting (ignores the `keywords` and `keywords_threshold` parameters) and * returns only a single final transcript (forces the `max_alternatives` parameter to be `1`). * - *

**Note:** Applies to US English, Japanese, and Korean transcription only. + *

**Beta:** The parameter is beta functionality. Applies to US English, Japanese, and Korean + * transcription only. * *

See [Numeric * redaction](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-formatting#numeric-redaction). @@ -1034,12 +1058,11 @@ public Float backgroundAudioSuppression() { * parameter causes the models to produce results even more quickly, though the results might be * less accurate when the parameter is used. * - *

**Note:** The parameter is beta functionality. It is not available for previous-generation - * `Broadband` and `Narrowband` models. It is available only for some next-generation models. - * - *

* For a list of next-generation models that support low latency, see [Supported language - * models](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-models-ng#models-ng-supported) - * for next-generation models. * For more information about the `low_latency` parameter, see [Low + *

The parameter is not available for previous-generation `Broadband` and `Narrowband` models. + * It is available only for some next-generation models. For a list of next-generation models that + * support low latency, see [Supported next-generation language + * models](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-models-ng#models-ng-supported). + * * For more information about the `low_latency` parameter, see [Low * latency](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-interim#low-latency). * * @return the lowLatency