public class UserDefineAsrTextReviewTemplateInfo extends AbstractModel
Constructor and Description |
---|
UserDefineAsrTextReviewTemplateInfo() |
UserDefineAsrTextReviewTemplateInfo(UserDefineAsrTextReviewTemplateInfo 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 |
---|---|
Long |
getBlockConfidence()
Get Confidence score threshold for determining that something should be blocked.
|
String[] |
getLabelSet()
Get Filter labels for custom ASR-based recognition.
|
Long |
getReviewConfidence()
Get Confidence score threshold for human review.
|
String |
getSwitch()
Get Whether to enable custom ASR-based recognition.
|
void |
setBlockConfidence(Long BlockConfidence)
Set Confidence score threshold for determining that something should be blocked.
|
void |
setLabelSet(String[] LabelSet)
Set Filter labels for custom ASR-based recognition.
|
void |
setReviewConfidence(Long ReviewConfidence)
Set Confidence score threshold for human review.
|
void |
setSwitch(String Switch)
Set Whether to enable custom ASR-based recognition.
|
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 UserDefineAsrTextReviewTemplateInfo()
public UserDefineAsrTextReviewTemplateInfo(UserDefineAsrTextReviewTemplateInfo source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable custom ASR-based recognition. Valid values:
public String[] getLabelSet()
public void setLabelSet(String[] LabelSet)
LabelSet
- Filter labels for custom ASR-based recognition. Results containing the specified labels are returned. If no labels are specified, all results are returned. To filter by labels, specify the labels when adding keywords for custom ASR-based recognition.
Up to 10 labels are allowed, each containing no more than 16 characters.public Long getBlockConfidence()
public void setBlockConfidence(Long BlockConfidence)
BlockConfidence
- Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100public Long getReviewConfidence()
public void setReviewConfidence(Long ReviewConfidence)
ReviewConfidence
- Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100Copyright © 2023. All rights reserved.