KeyPhrase
public struct KeyPhrase : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
A character offset in the input text that shows where the key phrase 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 where the key phrase 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 a key noun phrase.
Declaration
Swift
public let text: String?
-
Undocumented
Declaration
Swift
public init(beginOffset: Int? = nil, endOffset: Int? = nil, score: Float? = nil, text: String? = nil)