你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PiiEntity interface

来自 PII 识别的实体,其中包含有关所遇到的 PII 类型的信息。

Extends

继承属性

category

实体类型。

confidenceScore

提取的实体的置信度分数介于 0 和 1 之间。

length

实体文本的长度。 使用不同的“stringIndexType”值可能会影响返回的长度。

offset

实体文本的起始位置。 使用不同的“stringIndexType”值可能会影响返回的偏移量。

subCategory

(可选) 实体子类型。

text

请求中显示的实体文本。

继承属性详细信息

category

实体类型。

category: string

属性值

string

继承自Entity.category

confidenceScore

提取的实体的置信度分数介于 0 和 1 之间。

confidenceScore: number

属性值

number

继承自Entity.confidenceScore

length

实体文本的长度。 使用不同的“stringIndexType”值可能会影响返回的长度。

length: number

属性值

number

继承自Entity.length

offset

实体文本的起始位置。 使用不同的“stringIndexType”值可能会影响返回的偏移量。

offset: number

属性值

number

继承自Entity.offset

subCategory

(可选) 实体子类型。

subCategory?: string

属性值

string

继承自Entity.subCategory

text

请求中显示的实体文本。

text: string

属性值

string

继承自Entity.text