public class CorrectionItem extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CorrectionItem() | 
| CorrectionItem(CorrectionItem 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 | getBeginOffset()Get 错误的起始位置,从0开始。 | 
| Long | getConfidence()Get 纠错信息置信度。0:error;1:warning;error的置信度更高。(仅供参考) | 
| Long | getCorrectionType()Get 纠错类型。0:替换;1:插入;2:删除。 | 
| String[] | getCorrectWord()Get 纠错结果,当为删除类错误时,结果为null。
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getDescriptionEn()Get 纠错信息英文描述。
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getDescriptionZh()Get 纠错信息中文描述。
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getLen()Get 错误内容长度。 | 
| Long | getOrder()Get 纠错句子的序号。 | 
| String | getWord()Get 错误内容。 | 
| void | setBeginOffset(Long BeginOffset)Set 错误的起始位置,从0开始。 | 
| void | setConfidence(Long Confidence)Set 纠错信息置信度。0:error;1:warning;error的置信度更高。(仅供参考) | 
| void | setCorrectionType(Long CorrectionType)Set 纠错类型。0:替换;1:插入;2:删除。 | 
| void | setCorrectWord(String[] CorrectWord)Set 纠错结果,当为删除类错误时,结果为null。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setDescriptionEn(String DescriptionEn)Set 纠错信息英文描述。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setDescriptionZh(String DescriptionZh)Set 纠错信息中文描述。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setLen(Long Len)Set 错误内容长度。 | 
| void | setOrder(Long Order)Set 纠错句子的序号。 | 
| void | setWord(String Word)Set 错误内容。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CorrectionItem()
public CorrectionItem(CorrectionItem source)
public Long getOrder()
public void setOrder(Long Order)
Order - 纠错句子的序号。public Long getBeginOffset()
public void setBeginOffset(Long BeginOffset)
BeginOffset - 错误的起始位置,从0开始。public Long getLen()
public void setLen(Long Len)
Len - 错误内容长度。public String getWord()
public void setWord(String Word)
Word - 错误内容。public String[] getCorrectWord()
public void setCorrectWord(String[] CorrectWord)
CorrectWord - 纠错结果,当为删除类错误时,结果为null。
注意:此字段可能返回 null,表示取不到有效值。public Long getCorrectionType()
public void setCorrectionType(Long CorrectionType)
CorrectionType - 纠错类型。0:替换;1:插入;2:删除。public Long getConfidence()
public void setConfidence(Long Confidence)
Confidence - 纠错信息置信度。0:error;1:warning;error的置信度更高。(仅供参考)public String getDescriptionZh()
public void setDescriptionZh(String DescriptionZh)
DescriptionZh - 纠错信息中文描述。
注意:此字段可能返回 null,表示取不到有效值。public String getDescriptionEn()
public void setDescriptionEn(String DescriptionEn)
DescriptionEn - 纠错信息英文描述。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.