AttributeInfo类

表1 AttributeInfo类属性说明

属性名

类型

说明

attrId

int

属性ID。

attrName

str

属性名。

attrValue

str

属性值。

confidence

float

置信度。

该类重写了__str__和__repr__方法,用于展示对象信息,建议用户不要直接调用。