public class SentenceSuggest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
ErrorCoordinate[] |
getErrorCoordinates()
Get 维度单词坐标,错误单词在图片中的坐标,只有传图片时正常返回,传文字时返回[ ]
|
Long[] |
getErrorPosition()
Get 维度单词位置,在句子的第几个到第几个单词之间
|
String |
getErrorType()
Get 错误类型
|
String |
getMessage()
Get 提示信息
|
String |
getOrigin()
Get 原始单词
|
String |
getReplace()
Get 替换成 的单词
|
String |
getType()
Get 类型
|
void |
setErrorCoordinates(ErrorCoordinate[] ErrorCoordinates)
Set 维度单词坐标,错误单词在图片中的坐标,只有传图片时正常返回,传文字时返回[ ]
|
void |
setErrorPosition(Long[] ErrorPosition)
Set 维度单词位置,在句子的第几个到第几个单词之间
|
void |
setErrorType(String ErrorType)
Set 错误类型
|
void |
setMessage(String Message)
Set 提示信息
|
void |
setOrigin(String Origin)
Set 原始单词
|
void |
setReplace(String Replace)
Set 替换成 的单词
|
void |
setType(String Type)
Set 类型
|
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 SentenceSuggest()
public SentenceSuggest(SentenceSuggest source)
public String getType()
public void setType(String Type)
Type
- 类型public String getErrorType()
public void setErrorType(String ErrorType)
ErrorType
- 错误类型public String getOrigin()
public void setOrigin(String Origin)
Origin
- 原始单词public String getReplace()
public void setReplace(String Replace)
Replace
- 替换成 的单词public String getMessage()
public void setMessage(String Message)
Message
- 提示信息public Long[] getErrorPosition()
public void setErrorPosition(Long[] ErrorPosition)
ErrorPosition
- 维度单词位置,在句子的第几个到第几个单词之间public ErrorCoordinate[] getErrorCoordinates()
public void setErrorCoordinates(ErrorCoordinate[] ErrorCoordinates)
ErrorCoordinates
- 维度单词坐标,错误单词在图片中的坐标,只有传图片时正常返回,传文字时返回[ ]Copyright © 2021. All rights reserved.