public class AiRecognitionTaskTransTextSegmentItem extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Float |
getConfidence()
Get The confidence score for a segment.
|
Float |
getEndTimeOffset()
Get The end time offset (seconds) of a segment.
|
Float |
getStartTimeOffset()
Get The start time offset (seconds) of a segment.
|
String |
getText()
Get The text transcript.
|
String |
getTrans()
Get The translation.
|
void |
setConfidence(Float Confidence)
Set The confidence score for a segment.
|
void |
setEndTimeOffset(Float EndTimeOffset)
Set The end time offset (seconds) of a segment.
|
void |
setStartTimeOffset(Float StartTimeOffset)
Set The start time offset (seconds) of a segment.
|
void |
setText(String Text)
Set The text transcript.
|
void |
setTrans(String Trans)
Set The translation.
|
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 AiRecognitionTaskTransTextSegmentItem()
public AiRecognitionTaskTransTextSegmentItem(AiRecognitionTaskTransTextSegmentItem source)
public Float getConfidence()
public void setConfidence(Float Confidence)
Confidence
- The confidence score for a segment. Value range: 0-100.public Float getStartTimeOffset()
public void setStartTimeOffset(Float StartTimeOffset)
StartTimeOffset
- The start time offset (seconds) of a segment.public Float getEndTimeOffset()
public void setEndTimeOffset(Float EndTimeOffset)
EndTimeOffset
- The end time offset (seconds) of a segment.public String getText()
public void setText(String Text)
Text
- The text transcript.public String getTrans()
public void setTrans(String Trans)
Trans
- The translation.Copyright © 2023. All rights reserved.