public class AsrFullTextConfigureInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
AsrFullTextConfigureInfo() |
AsrFullTextConfigureInfo(AsrFullTextConfigureInfo 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 |
getSrcLanguage()
Get Media source language value range: zh: Mandarin en: English ja: Japanese zh-ca: CantoneseNote: If it fills in an empty string or leave this parameter blank, it will be automatically recognized (it is recommended to fill in the language corresponding to the media to improve the recognition accuracy).
|
String |
getSubtitleFormat()
Get The format of the subtitle file generated.
|
String[] |
getSubtitleFormats()
Get The formats of the subtitle files generated.
|
String |
getSwitch()
Get Switch of full speech recognition task.
|
void |
setSrcLanguage(String SrcLanguage)
Set Media source language value range: zh: Mandarin en: English ja: Japanese zh-ca: CantoneseNote: If it fills in an empty string or leave this parameter blank, it will be automatically recognized (it is recommended to fill in the language corresponding to the media to improve the recognition accuracy).
|
void |
setSubtitleFormat(String SubtitleFormat)
Set The format of the subtitle file generated.
|
void |
setSubtitleFormats(String[] SubtitleFormats)
Set The formats of the subtitle files generated.
|
void |
setSwitch(String Switch)
Set Switch of full speech recognition task.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AsrFullTextConfigureInfo()
public AsrFullTextConfigureInfo(AsrFullTextConfigureInfo source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Switch of full speech recognition task. Valid values:
public String[] getSubtitleFormats()
public void setSubtitleFormats(String[] SubtitleFormats)
SubtitleFormats
- The formats of the subtitle files generated. If this parameter is not passed or an empty string is passed in, no subtitles files will be generated. Valid values:
public String getSubtitleFormat()
public void setSubtitleFormat(String SubtitleFormat)
SubtitleFormat
- The format of the subtitle file generated. If this parameter is not passed or an empty string is passed in, no subtitles files will be generated. Valid values:
public String getSrcLanguage()
public void setSrcLanguage(String SrcLanguage)
SrcLanguage
- Media source language value range: Copyright © 2024. All rights reserved.