Attribute
public struct Attribute : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The 0-based character offset in the input text that shows where the attribute begins. The offset returns the UTF-8 code point in the string.
Declaration
Swift
public let beginOffset: Int?
-
The category of attribute.
Declaration
Swift
public let category: EntityType?
-
The 0-based character offset in the input text that shows where the attribute ends. The offset returns the UTF-8 code point in the string.
Declaration
Swift
public let endOffset: Int?
-
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
Declaration
Swift
public let id: Int?
-
The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.
Declaration
Swift
public let relationshipScore: Float?
-
The type of relationship between the entity and attribute. Type for the relationship is OVERLAP, indicating that the entity occurred at the same time as the Date_Expression.
Declaration
Swift
public let relationshipType: RelationshipType?
-
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.
Declaration
Swift
public let score: Float?
-
The segment of input text extracted as this attribute.
Declaration
Swift
public let text: String?
-
Contextual information for this attribute.
Declaration
Swift
public let traits: [Trait]?
-
The type of attribute.
Declaration
Swift
public let type: EntitySubType?
-
Undocumented
Declaration
Swift
public init(beginOffset: Int? = nil, category: EntityType? = nil, endOffset: Int? = nil, id: Int? = nil, relationshipScore: Float? = nil, relationshipType: RelationshipType? = nil, score: Float? = nil, text: String? = nil, traits: [Trait]? = nil, type: EntitySubType? = nil)