Class AiRecognitionTaskTransTextSegmentItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.AiRecognitionTaskTransTextSegmentItem
-
public class AiRecognitionTaskTransTextSegmentItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description AiRecognitionTaskTransTextSegmentItem()AiRecognitionTaskTransTextSegmentItem(AiRecognitionTaskTransTextSegmentItem 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatgetConfidence()Get 识别片段置信度。取值:0~100。FloatgetEndTimeOffset()Get 识别片段终止的偏移时间,单位:秒。FloatgetStartTimeOffset()Get 识别片段起始的偏移时间,单位:秒。StringgetText()Get 识别文本。StringgetTrans()Get 翻译文本。voidsetConfidence(Float Confidence)Set 识别片段置信度。取值:0~100。voidsetEndTimeOffset(Float EndTimeOffset)Set 识别片段终止的偏移时间,单位:秒。voidsetStartTimeOffset(Float StartTimeOffset)Set 识别片段起始的偏移时间,单位:秒。voidsetText(String Text)Set 识别文本。voidsetTrans(String Trans)Set 翻译文本。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
AiRecognitionTaskTransTextSegmentItem
public AiRecognitionTaskTransTextSegmentItem()
-
AiRecognitionTaskTransTextSegmentItem
public AiRecognitionTaskTransTextSegmentItem(AiRecognitionTaskTransTextSegmentItem 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.
-
-
Method Detail
-
getConfidence
public Float getConfidence()
Get 识别片段置信度。取值:0~100。- Returns:
- Confidence 识别片段置信度。取值:0~100。
-
setConfidence
public void setConfidence(Float Confidence)
Set 识别片段置信度。取值:0~100。- Parameters:
Confidence- 识别片段置信度。取值:0~100。
-
getStartTimeOffset
public Float getStartTimeOffset()
Get 识别片段起始的偏移时间,单位:秒。- Returns:
- StartTimeOffset 识别片段起始的偏移时间,单位:秒。
-
setStartTimeOffset
public void setStartTimeOffset(Float StartTimeOffset)
Set 识别片段起始的偏移时间,单位:秒。- Parameters:
StartTimeOffset- 识别片段起始的偏移时间,单位:秒。
-
getEndTimeOffset
public Float getEndTimeOffset()
Get 识别片段终止的偏移时间,单位:秒。- Returns:
- EndTimeOffset 识别片段终止的偏移时间,单位:秒。
-
setEndTimeOffset
public void setEndTimeOffset(Float EndTimeOffset)
Set 识别片段终止的偏移时间,单位:秒。- Parameters:
EndTimeOffset- 识别片段终止的偏移时间,单位:秒。
-
getText
public String getText()
Get 识别文本。- Returns:
- Text 识别文本。
-
setText
public void setText(String Text)
Set 识别文本。- Parameters:
Text- 识别文本。
-
getTrans
public String getTrans()
Get 翻译文本。- Returns:
- Trans 翻译文本。
-
setTrans
public void setTrans(String Trans)
Set 翻译文本。- Parameters:
Trans- 翻译文本。
-
-