Class AsrInput

java.lang.Object
com.ringcentral.definitions.AsrInput

public class AsrInput extends Object
  • Field Details

    • contentUri

      public String contentUri
      Publicly facing uri Format: uri
    • encoding

      public String encoding
      The encoding of the original audio Required Example: Wav Enum: Mpeg, Mp4, Wav, Webm, Webp, Aac, Avi, Ogg
    • languageCode

      public String languageCode
      Language spoken in the audio file. Required Example: en-US
    • source

      public String source
      Source of the audio file eg: Phone, RingCentral, GoogleMeet, Zoom etc Example: RingCentral
    • audioType

      public String audioType
      Type of the audio Example: CallCenter Enum: CallCenter, Meeting, EarningsCalls, Interview, PressConference, Voicemail
    • separateSpeakerPerChannel

      public Boolean separateSpeakerPerChannel
      Indicates that the input audio is multi-channel and each channel has a separate speaker.
    • speakerCount

      public Long speakerCount
      Number of speakers in the file, omit parameter if unknown Format: int32 Example: 2
    • speakerIds

      public String[] speakerIds
      Optional set of speakers to be identified from the call. Example: speakerId1,speakerId2
    • enableVoiceActivityDetection

      public Boolean enableVoiceActivityDetection
      Apply voice activity detection.
    • enablePunctuation

      public Boolean enablePunctuation
      Enables Smart Punctuation API.
    • enableSpeakerDiarization

      public Boolean enableSpeakerDiarization
      Tags each word corresponding to the speaker.
    • speechContexts

      public SpeechContextPhrasesInput[] speechContexts
      Indicates the words/phrases that will be used for boosting the transcript. This can help to boost accuracy for cases like Person Names, Company names etc.
  • Constructor Details

    • AsrInput

      public AsrInput()
  • Method Details