public class SentenceDetail extends AbstractModel
Constructor and Description |
---|
SentenceDetail() |
SentenceDetail(SentenceDetail 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 |
getEndMs()
Get 单句结束时间(毫秒)
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getFinalSentence()
Get 单句最终识别结果
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSliceSentence()
Get 单句中间识别结果,使用空格拆分为多个词
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getSpeakerId()
Get 声道或说话人 Id(请求中如果设置了 speaker_diarization或者ChannelNum为双声道,可区分说话人或声道)
注意:此字段可能返回 null,表示取不到有效值。
|
Float |
getSpeechSpeed()
Get 单句语速,单位:字数/秒
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getStartMs()
Get 单句开始时间(毫秒)
注意:此字段可能返回 null,表示取不到有效值。
|
SentenceWords[] |
getWords()
Get 单句中词详情
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getWordsNum()
Get 单句中词个数
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setEndMs(Long EndMs)
Set 单句结束时间(毫秒)
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFinalSentence(String FinalSentence)
Set 单句最终识别结果
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSliceSentence(String SliceSentence)
Set 单句中间识别结果,使用空格拆分为多个词
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSpeakerId(Long SpeakerId)
Set 声道或说话人 Id(请求中如果设置了 speaker_diarization或者ChannelNum为双声道,可区分说话人或声道)
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSpeechSpeed(Float SpeechSpeed)
Set 单句语速,单位:字数/秒
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setStartMs(Long StartMs)
Set 单句开始时间(毫秒)
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setWords(SentenceWords[] Words)
Set 单句中词详情
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setWordsNum(Long WordsNum)
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 SentenceDetail()
public SentenceDetail(SentenceDetail source)
public String getFinalSentence()
public void setFinalSentence(String FinalSentence)
FinalSentence
- 单句最终识别结果
注意:此字段可能返回 null,表示取不到有效值。public String getSliceSentence()
public void setSliceSentence(String SliceSentence)
SliceSentence
- 单句中间识别结果,使用空格拆分为多个词
注意:此字段可能返回 null,表示取不到有效值。public Long getStartMs()
public void setStartMs(Long StartMs)
StartMs
- 单句开始时间(毫秒)
注意:此字段可能返回 null,表示取不到有效值。public Long getEndMs()
public void setEndMs(Long EndMs)
EndMs
- 单句结束时间(毫秒)
注意:此字段可能返回 null,表示取不到有效值。public Long getWordsNum()
public void setWordsNum(Long WordsNum)
WordsNum
- 单句中词个数
注意:此字段可能返回 null,表示取不到有效值。public SentenceWords[] getWords()
public void setWords(SentenceWords[] Words)
Words
- 单句中词详情
注意:此字段可能返回 null,表示取不到有效值。public Float getSpeechSpeed()
public void setSpeechSpeed(Float SpeechSpeed)
SpeechSpeed
- 单句语速,单位:字数/秒
注意:此字段可能返回 null,表示取不到有效值。public Long getSpeakerId()
public void setSpeakerId(Long SpeakerId)
SpeakerId
- 声道或说话人 Id(请求中如果设置了 speaker_diarization或者ChannelNum为双声道,可区分说话人或声道)
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2022. All rights reserved.