Structures

The following structures are available globally.

  • Information about an existing custom acoustic model.

    See more

    Declaration

    Swift

    public struct AcousticModel : Codable, Equatable
  • Information about existing custom acoustic models.

    See more

    Declaration

    Swift

    public struct AcousticModels : Codable, Equatable
  • Information about an audio resource from a custom acoustic model.

    See more

    Declaration

    Swift

    public struct AudioDetails : Codable, Equatable
  • Information about an audio resource from a custom acoustic model.

    See more

    Declaration

    Swift

    public struct AudioListing : Codable, Equatable
  • If audio metrics are requested, information about the signal characteristics of the input audio.

    See more

    Declaration

    Swift

    public struct AudioMetrics : Codable, Equatable
  • Detailed information about the signal characteristics of the input audio.

    See more

    Declaration

    Swift

    public struct AudioMetricsDetails : Codable, Equatable
  • A bin with defined boundaries that indicates the number of values in a range of signal characteristics for a histogram. The first and last bins of a histogram are the boundary bins. They cover the intervals between negative infinity and the first boundary, and between the last boundary and positive infinity, respectively.

    See more

    Declaration

    Swift

    public struct AudioMetricsHistogramBin : Codable, Equatable
  • Information about an audio resource from a custom acoustic model.

    See more

    Declaration

    Swift

    public struct AudioResource : Codable, Equatable
  • Information about the audio resources from a custom acoustic model.

    See more

    Declaration

    Swift

    public struct AudioResources : Codable, Equatable
  • Information about the corpora from a custom language model.

    See more

    Declaration

    Swift

    public struct Corpora : Codable, Equatable
  • Information about a corpus from a custom language model.

    See more

    Declaration

    Swift

    public struct Corpus : Codable, Equatable
  • Information about a word that is to be added to a custom language model.

    See more

    Declaration

    Swift

    public struct CustomWord : Codable, Equatable
  • Information about a grammar from a custom language model.

    See more

    Declaration

    Swift

    public struct Grammar : Codable, Equatable
  • Information about the grammars from a custom language model.

    See more

    Declaration

    Swift

    public struct Grammars : Codable, Equatable
  • Information about a match for a keyword from speech recognition results.

    See more

    Declaration

    Swift

    public struct KeywordResult : Codable, Equatable
  • Information about an existing custom language model.

    See more

    Declaration

    Swift

    public struct LanguageModel : Codable, Equatable
  • Information about existing custom language models.

    See more

    Declaration

    Swift

    public struct LanguageModels : Codable, Equatable
  • Detailed timing information about the service’s processing of the input audio.

    See more

    Declaration

    Swift

    public struct ProcessedAudio : Codable, Equatable
  • If processing metrics are requested, information about the service’s processing of the input audio. Processing metrics are not available with the synchronous Recognize audio method.

    See more

    Declaration

    Swift

    public struct ProcessingMetrics : Codable, Equatable
  • Information about a current asynchronous speech recognition job.

    See more

    Declaration

    Swift

    public struct RecognitionJob : Codable, Equatable
  • Information about current asynchronous speech recognition jobs.

    See more

    Declaration

    Swift

    public struct RecognitionJobs : Codable, Equatable
  • Information about a request to register a callback for asynchronous speech recognition.

    See more

    Declaration

    Swift

    public struct RegisterStatus : Codable, Equatable
  • Information about the speakers from speech recognition results.

    See more

    Declaration

    Swift

    public struct SpeakerLabelsResult : Codable, Equatable
  • Information about an available language model.

    See more

    Declaration

    Swift

    public struct SpeechModel : Codable, Equatable
  • Information about the available language models.

    See more

    Declaration

    Swift

    public struct SpeechModels : Codable, Equatable
  • An alternative transcript from speech recognition results.

    See more

    Declaration

    Swift

    public struct SpeechRecognitionAlternative : Codable, Equatable
  • Component results for a speech recognition request.

    See more

    Declaration

    Swift

    public struct SpeechRecognitionResult : Codable, Equatable
  • The complete results for a speech recognition request.

    See more

    Declaration

    Swift

    public struct SpeechRecognitionResults : Codable, Equatable
  • Additional service features that are supported with the model.

    See more

    Declaration

    Swift

    public struct SupportedFeatures : Codable, Equatable
  • The response from training of a custom language or custom acoustic model.

    See more

    Declaration

    Swift

    public struct TrainingResponse : Codable, Equatable
  • A warning from training of a custom language or custom acoustic model.

    See more

    Declaration

    Swift

    public struct TrainingWarning : Codable, Equatable
  • Information about a word from a custom language model.

    See more

    Declaration

    Swift

    public struct Word : Codable, Equatable
  • An alternative hypothesis for a word from speech recognition results.

    See more

    Declaration

    Swift

    public struct WordAlternativeResult : Codable, Equatable
  • Information about alternative hypotheses for words from speech recognition results.

    See more

    Declaration

    Swift

    public struct WordAlternativeResults : Codable, Equatable
  • The confidence of a word in a Speech to Text transcription.

    See more

    Declaration

    Swift

    public struct WordConfidence : Codable, Equatable
  • An error associated with a word from a custom language model.

    See more

    Declaration

    Swift

    public struct WordError : Codable, Equatable
  • The timestamp of a word in a Speech to Text transcription.

    See more

    Declaration

    Swift

    public struct WordTimestamp : Codable, Equatable
  • Information about the words from a custom language model.

    See more

    Declaration

    Swift

    public struct Words : Codable, Equatable
  • The settings associated with a Speech to Text recognition request. Any nil parameters will use a default value provided by the Watson Speech to Text service.

    For more information about the Speech to Text service parameters, visit: https://cloud.ibm.com/docs/services/speech-to-text/input.html

    See more

    Declaration

    Swift

    public struct RecognitionSettings : Codable, Equatable
  • Undocumented

    See more

    Declaration

    Swift

    public struct RecognizeCallback
  • SpeechRecognitionResultsAccumulator.

    See more

    Declaration

    Swift

    public struct SpeechRecognitionResultsAccumulator