public class SubmitAudioTaskRequest extends AbstractModel
Constructor and Description |
---|
SubmitAudioTaskRequest() |
SubmitAudioTaskRequest(SubmitAudioTaskRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getFileType()
Get 视频文件类型,默认点播,直播填 live_url
|
Function |
getFunctions()
Get 功能开关列表,表示是否需要打开相应的功能,返回相应的信息
|
Long |
getLang()
Get 音频源的语言,默认0为英文,1为中文
|
Long |
getMuteThreshold()
Get 静音阈值设置,如果静音检测开关开启,则静音时间超过这个阈值认为是静音片段,在结果中会返回, 没给的话默认值为3s
|
String |
getUrl()
Get 音频URL。客户请求为URL方式时必须带此字段指名音频的url。
|
String[] |
getVocabLibNameList()
Get 识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析
|
Long |
getVoiceEncodeType()
Get 语音编码类型 1:pcm
|
Long |
getVoiceFileType()
Get 语音文件类型 1:raw, 2:wav, 3:mp3,10:视频(三种音频格式目前仅支持16k采样率16bit)
|
void |
setFileType(String FileType)
Set 视频文件类型,默认点播,直播填 live_url
|
void |
setFunctions(Function Functions)
Set 功能开关列表,表示是否需要打开相应的功能,返回相应的信息
|
void |
setLang(Long Lang)
Set 音频源的语言,默认0为英文,1为中文
|
void |
setMuteThreshold(Long MuteThreshold)
Set 静音阈值设置,如果静音检测开关开启,则静音时间超过这个阈值认为是静音片段,在结果中会返回, 没给的话默认值为3s
|
void |
setUrl(String Url)
Set 音频URL。客户请求为URL方式时必须带此字段指名音频的url。
|
void |
setVocabLibNameList(String[] VocabLibNameList)
Set 识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析
|
void |
setVoiceEncodeType(Long VoiceEncodeType)
Set 语音编码类型 1:pcm
|
void |
setVoiceFileType(Long VoiceFileType)
Set 语音文件类型 1:raw, 2:wav, 3:mp3,10:视频(三种音频格式目前仅支持16k采样率16bit)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SubmitAudioTaskRequest()
public SubmitAudioTaskRequest(SubmitAudioTaskRequest source)
public Long getLang()
public void setLang(Long Lang)
Lang
- 音频源的语言,默认0为英文,1为中文public String getUrl()
public void setUrl(String Url)
Url
- 音频URL。客户请求为URL方式时必须带此字段指名音频的url。public Long getVoiceEncodeType()
public void setVoiceEncodeType(Long VoiceEncodeType)
VoiceEncodeType
- 语音编码类型 1:pcmpublic Long getVoiceFileType()
public void setVoiceFileType(Long VoiceFileType)
VoiceFileType
- 语音文件类型 1:raw, 2:wav, 3:mp3,10:视频(三种音频格式目前仅支持16k采样率16bit)public Function getFunctions()
public void setFunctions(Function Functions)
Functions
- 功能开关列表,表示是否需要打开相应的功能,返回相应的信息public String getFileType()
public void setFileType(String FileType)
FileType
- 视频文件类型,默认点播,直播填 live_urlpublic Long getMuteThreshold()
public void setMuteThreshold(Long MuteThreshold)
MuteThreshold
- 静音阈值设置,如果静音检测开关开启,则静音时间超过这个阈值认为是静音片段,在结果中会返回, 没给的话默认值为3spublic String[] getVocabLibNameList()
public void setVocabLibNameList(String[] VocabLibNameList)
VocabLibNameList
- 识别词库名列表,评估过程使用这些词汇库中的词汇进行词汇使用行为分析Copyright © 2022. All rights reserved.