Class Entity
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.nlp.v20190408.models.Entity
-
public class Entity extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetBeginOffset()Get 基础词在NormalText中的起始位置。LonggetLength()Get 基础词的长度。StringgetName()Get 类型名字的自然语言表达。(中文或英文)StringgetType()Get 实体类型的标准名字。StringgetWord()Get 基础词。voidsetBeginOffset(Long BeginOffset)Set 基础词在NormalText中的起始位置。voidsetLength(Long Length)Set 基础词的长度。voidsetName(String Name)Set 类型名字的自然语言表达。(中文或英文)voidsetType(String Type)Set 实体类型的标准名字。voidsetWord(String Word)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
-
Entity
public Entity()
-
Entity
public Entity(Entity 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
-
getWord
public String getWord()
Get 基础词。- Returns:
- Word 基础词。
-
setWord
public void setWord(String Word)
Set 基础词。- Parameters:
Word- 基础词。
-
getBeginOffset
public Long getBeginOffset()
Get 基础词在NormalText中的起始位置。- Returns:
- BeginOffset 基础词在NormalText中的起始位置。
-
setBeginOffset
public void setBeginOffset(Long BeginOffset)
Set 基础词在NormalText中的起始位置。- Parameters:
BeginOffset- 基础词在NormalText中的起始位置。
-
getLength
public Long getLength()
Get 基础词的长度。- Returns:
- Length 基础词的长度。
-
setLength
public void setLength(Long Length)
Set 基础词的长度。- Parameters:
Length- 基础词的长度。
-
getType
public String getType()
Get 实体类型的标准名字。- Returns:
- Type 实体类型的标准名字。
-
setType
public void setType(String Type)
Set 实体类型的标准名字。- Parameters:
Type- 实体类型的标准名字。
-
getName
public String getName()
Get 类型名字的自然语言表达。(中文或英文)- Returns:
- Name 类型名字的自然语言表达。(中文或英文)
-
setName
public void setName(String Name)
Set 类型名字的自然语言表达。(中文或英文)- Parameters:
Name- 类型名字的自然语言表达。(中文或英文)
-
-