public class SentenceRecognitionResponse extends AbstractModel
Constructor and Description |
---|
SentenceRecognitionResponse() |
SentenceRecognitionResponse(SentenceRecognitionResponse 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 |
getAudioDuration()
Get 请求的音频时长,单位为ms
|
String |
getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
String |
getResult()
Get 识别结果。
|
SentenceWord[] |
getWordList()
Get 词时间戳列表
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getWordSize()
Get 词时间戳列表的长度
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAudioDuration(Long AudioDuration)
Set 请求的音频时长,单位为ms
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
void |
setResult(String Result)
Set 识别结果。
|
void |
setWordList(SentenceWord[] WordList)
Set 词时间戳列表
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setWordSize(Long WordSize)
Set 词时间戳列表的长度
注意:此字段可能返回 null,表示取不到有效值。
|
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 SentenceRecognitionResponse()
public SentenceRecognitionResponse(SentenceRecognitionResponse source)
public String getResult()
public void setResult(String Result)
Result
- 识别结果。public Long getAudioDuration()
public void setAudioDuration(Long AudioDuration)
AudioDuration
- 请求的音频时长,单位为mspublic Long getWordSize()
public void setWordSize(Long WordSize)
WordSize
- 词时间戳列表的长度
注意:此字段可能返回 null,表示取不到有效值。public SentenceWord[] getWordList()
public void setWordList(SentenceWord[] WordList)
WordList
- 词时间戳列表
注意:此字段可能返回 null,表示取不到有效值。public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。Copyright © 2022. All rights reserved.