Entity

public struct Entity : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A character offset in the input text that shows where the entity begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

    Declaration

    Swift

    public let beginOffset: Int?
  • A character offset in the input text that shows where the entity ends. The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

    Declaration

    Swift

    public let endOffset: Int?
  • The level of confidence that Amazon Comprehend has in the accuracy of the detection.

    Declaration

    Swift

    public let score: Float?
  • The text of the entity.

    Declaration

    Swift

    public let text: String?
  • The entity’s type.

    Declaration

    Swift

    public let type: EntityType?
  • Undocumented

    Declaration

    Swift

    public init(beginOffset: Int? = nil, endOffset: Int? = nil, score: Float? = nil, text: String? = nil, type: EntityType? = nil)