Class SentenceSuggest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ecc.v20181213.models.SentenceSuggest
-
public class SentenceSuggest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SentenceSuggest()SentenceSuggest(SentenceSuggest 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 ErrorCoordinate[]getErrorCoordinates()Get 维度单词坐标,错误单词在图片中的坐标,只有传图片时正常返回,传文字时返回[ ]Long[]getErrorPosition()Get 维度单词位置,在句子的第几个到第几个单词之间StringgetErrorType()Get 错误类型StringgetMessage()Get 提示信息StringgetOrigin()Get 原始单词StringgetReplace()Get 替换成 的单词StringgetType()Get 类型voidsetErrorCoordinates(ErrorCoordinate[] ErrorCoordinates)Set 维度单词坐标,错误单词在图片中的坐标,只有传图片时正常返回,传文字时返回[ ]voidsetErrorPosition(Long[] ErrorPosition)Set 维度单词位置,在句子的第几个到第几个单词之间voidsetErrorType(String ErrorType)Set 错误类型voidsetMessage(String Message)Set 提示信息voidsetOrigin(String Origin)Set 原始单词voidsetReplace(String Replace)Set 替换成 的单词voidsetType(String Type)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
-
SentenceSuggest
public SentenceSuggest()
-
SentenceSuggest
public SentenceSuggest(SentenceSuggest 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
-
getType
public String getType()
Get 类型- Returns:
- Type 类型
-
setType
public void setType(String Type)
Set 类型- Parameters:
Type- 类型
-
getErrorType
public String getErrorType()
Get 错误类型- Returns:
- ErrorType 错误类型
-
setErrorType
public void setErrorType(String ErrorType)
Set 错误类型- Parameters:
ErrorType- 错误类型
-
getOrigin
public String getOrigin()
Get 原始单词- Returns:
- Origin 原始单词
-
setOrigin
public void setOrigin(String Origin)
Set 原始单词- Parameters:
Origin- 原始单词
-
getReplace
public String getReplace()
Get 替换成 的单词- Returns:
- Replace 替换成 的单词
-
setReplace
public void setReplace(String Replace)
Set 替换成 的单词- Parameters:
Replace- 替换成 的单词
-
getMessage
public String getMessage()
Get 提示信息- Returns:
- Message 提示信息
-
setMessage
public void setMessage(String Message)
Set 提示信息- Parameters:
Message- 提示信息
-
getErrorPosition
public Long[] getErrorPosition()
Get 维度单词位置,在句子的第几个到第几个单词之间- Returns:
- ErrorPosition 维度单词位置,在句子的第几个到第几个单词之间
-
setErrorPosition
public void setErrorPosition(Long[] ErrorPosition)
Set 维度单词位置,在句子的第几个到第几个单词之间- Parameters:
ErrorPosition- 维度单词位置,在句子的第几个到第几个单词之间
-
getErrorCoordinates
public ErrorCoordinate[] getErrorCoordinates()
Get 维度单词坐标,错误单词在图片中的坐标,只有传图片时正常返回,传文字时返回[ ]- Returns:
- ErrorCoordinates 维度单词坐标,错误单词在图片中的坐标,只有传图片时正常返回,传文字时返回[ ]
-
setErrorCoordinates
public void setErrorCoordinates(ErrorCoordinate[] ErrorCoordinates)
Set 维度单词坐标,错误单词在图片中的坐标,只有传图片时正常返回,传文字时返回[ ]- Parameters:
ErrorCoordinates- 维度单词坐标,错误单词在图片中的坐标,只有传图片时正常返回,传文字时返回[ ]
-
-