Package com.ringcentral.definitions
Class AsrInput
java.lang.Object
com.ringcentral.definitions.AsrInput
-
Field Summary
FieldsModifier and TypeFieldDescriptionType of the audio Example: CallCenter Enum: CallCenter, Meeting, EarningsCalls, Interview, PressConference, VoicemailPublicly facing uri Format: uriEnables Smart Punctuation API.Tags each word corresponding to the speaker.Apply voice activity detection.The encoding of the original audio Required Example: Wav Enum: Mpeg, Mp4, Wav, Webm, Webp, Aac, Avi, OggLanguage spoken in the audio file.Indicates that the input audio is multi-channel and each channel has a separate speaker.Source of the audio file eg: Phone, RingCentral, GoogleMeet, Zoom etc Example: RingCentralNumber of speakers in the file, omit parameter if unknown Format: int32 Example: 2String[]
Optional set of speakers to be identified from the call.Indicates the words/phrases that will be used for boosting the transcript. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontentUri
(String contentUri) enablePunctuation
(Boolean enablePunctuation) enableSpeakerDiarization
(Boolean enableSpeakerDiarization) enableVoiceActivityDetection
(Boolean enableVoiceActivityDetection) languageCode
(String languageCode) separateSpeakerPerChannel
(Boolean separateSpeakerPerChannel) speakerCount
(Long speakerCount) speakerIds
(String[] speakerIds) speechContexts
(SpeechContextPhrasesInput[] speechContexts)
-
Field Details
-
contentUri
Publicly facing uri Format: uri -
encoding
The encoding of the original audio Required Example: Wav Enum: Mpeg, Mp4, Wav, Webm, Webp, Aac, Avi, Ogg -
languageCode
Language spoken in the audio file. Required Example: en-US -
source
Source of the audio file eg: Phone, RingCentral, GoogleMeet, Zoom etc Example: RingCentral -
audioType
Type of the audio Example: CallCenter Enum: CallCenter, Meeting, EarningsCalls, Interview, PressConference, Voicemail -
separateSpeakerPerChannel
Indicates that the input audio is multi-channel and each channel has a separate speaker. -
speakerCount
Number of speakers in the file, omit parameter if unknown Format: int32 Example: 2 -
speakerIds
Optional set of speakers to be identified from the call. Example: speakerId1,speakerId2 -
enableVoiceActivityDetection
Apply voice activity detection. -
enablePunctuation
Enables Smart Punctuation API. -
enableSpeakerDiarization
Tags each word corresponding to the speaker. -
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
-
contentUri
-
encoding
-
languageCode
-
source
-
audioType
-
separateSpeakerPerChannel
-
speakerCount
-
speakerIds
-
enableVoiceActivityDetection
-
enablePunctuation
-
enableSpeakerDiarization
-
speechContexts
-