Class SentenceCom
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ecc.v20181213.models.SentenceCom
-
public class SentenceCom extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SentenceCom()
SentenceCom(SentenceCom 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 SentenceItem
getSentence()
Get 句子信息SentenceSuggest[]
getSuggestions()
Get 句子错误纠正信息void
setSentence(SentenceItem Sentence)
Set 句子信息void
setSuggestions(SentenceSuggest[] Suggestions)
Set 句子错误纠正信息void
toMap(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
-
SentenceCom
public SentenceCom()
-
SentenceCom
public SentenceCom(SentenceCom 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
-
getSuggestions
public SentenceSuggest[] getSuggestions()
Get 句子错误纠正信息- Returns:
- Suggestions 句子错误纠正信息
-
setSuggestions
public void setSuggestions(SentenceSuggest[] Suggestions)
Set 句子错误纠正信息- Parameters:
Suggestions
- 句子错误纠正信息
-
getSentence
public SentenceItem getSentence()
Get 句子信息- Returns:
- Sentence 句子信息
-
setSentence
public void setSentence(SentenceItem Sentence)
Set 句子信息- Parameters:
Sentence
- 句子信息
-
-