public class Entity extends AbstractModel
header, skipSign
Constructor and Description |
---|
Entity() |
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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getBeginOffset()
Get 基础词在NormalText中的起始位置。
|
Long |
getLength()
Get 基础词的长度。
|
String |
getName()
Get 类型名字的自然语言表达。(中文或英文)
|
String |
getType()
Get 实体类型的标准名字。
|
String |
getWord()
Get 基础词。
|
void |
setBeginOffset(Long BeginOffset)
Set 基础词在NormalText中的起始位置。
|
void |
setLength(Long Length)
Set 基础词的长度。
|
void |
setName(String Name)
Set 类型名字的自然语言表达。(中文或英文)
|
void |
setType(String Type)
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, toJsonString
public Entity()
public Entity(Entity source)
public String getWord()
public void setWord(String Word)
Word
- 基础词。public Long getBeginOffset()
public void setBeginOffset(Long BeginOffset)
BeginOffset
- 基础词在NormalText中的起始位置。public Long getLength()
public void setLength(Long Length)
Length
- 基础词的长度。public String getType()
public void setType(String Type)
Type
- 实体类型的标准名字。public String getName()
public void setName(String Name)
Name
- 类型名字的自然语言表达。(中文或英文)Copyright © 2024. All rights reserved.