Class SpeechModel

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.SpeechModel
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class SpeechModel
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information about an available language model.
  • Constructor Details

    • SpeechModel

      public SpeechModel()
  • Method Details

    • getName

      public String getName()
      Gets the name.

      The name of the model for use as an identifier in calls to the service (for example, `en-US_BroadbandModel`).

      Returns:
      the name
    • getLanguage

      public String getLanguage()
      Gets the language.

      The language identifier of the model (for example, `en-US`).

      Returns:
      the language
    • getRate

      public Long getRate()
      Gets the rate.

      The sampling rate (minimum acceptable rate for audio) used by the model in Hertz.

      Returns:
      the rate
    • getUrl

      public String getUrl()
      Gets the url.

      The URI for the model.

      Returns:
      the url
    • getSupportedFeatures

      public SupportedFeatures getSupportedFeatures()
      Gets the supportedFeatures.

      Additional service features that are supported with the model.

      Returns:
      the supportedFeatures
    • getDescription

      public String getDescription()
      Gets the description.

      A brief description of the model.

      Returns:
      the description