共用方式為


HealthcareEntity 類別

HealthcareEntity 包含文字中找到的醫療保健實體相關資訊。

繼承
azure.ai.textanalytics._dict_mixin.DictMixin
HealthcareEntity

建構函式

HealthcareEntity(**kwargs: Any)

方法

get
has_key
items
keys
update
values

get

get(key: str, default: Any | None = None) -> Any

參數

名稱 Description
key
必要
default
預設值: None

has_key

has_key(k: str) -> bool

參數

名稱 Description
k
必要

items

items() -> Iterable[Tuple[str, Any]]

keys

keys() -> Iterable[str]

update

update(*args: Any, **kwargs: Any) -> None

values

values() -> Iterable[Any]

屬性

assertion

包含有關此實體的各種判斷提示。 例如,如果實體是診斷,此診斷是否在徵兆上為「條件」? 醫生是否「確定」有關此診斷? 此診斷是否與另一個診斷相關聯?

assertion: HealthcareEntityAssertion | None = None

category

實體類別,請參閱 HealthcareEntityCategory 可能的醫療保健實體類別類型。

category: str

confidence_score

擷取實體的 0 到 1 之間的信賴分數。

confidence_score: float

data_sources

已知資料來源中的實體參考集合。

data_sources: List[HealthcareEntityDataSource] | None

length

實體文字長度。 此值取決於原始要求中指定的 string_index_type 參數值,預設為 UnicodeCodePoints。

length: int

normalized_text

從檔擷取的原始 文字 正規化版本。 並非所有 文字 都有正規化版本。

normalized_text: str | None = None

offset

檔開頭的實體文字位移。 此值取決於原始要求中指定的 string_index_type 參數值,預設為 UnicodeCodePoints。

offset: int

subcategory

實體子類別。

subcategory: str | None = None

text

如檔中所示的實體文字。

text: str