SyntaxToken
public struct SyntaxToken : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The zero-based offset from the beginning of the source text to the first character in the word.
Declaration
Swift
public let beginOffset: Int?
-
The zero-based offset from the beginning of the source text to the last character in the word.
Declaration
Swift
public let endOffset: Int?
-
Provides the part of speech label and the confidence level that Amazon Comprehend has that the part of speech was correctly identified. For more information, see how-syntax.
Declaration
Swift
public let partOfSpeech: PartOfSpeechTag?
-
The word that was recognized in the source text.
Declaration
Swift
public let text: String?
-
A unique identifier for a token.
Declaration
Swift
public let tokenId: Int?
-
Undocumented
Declaration
Swift
public init(beginOffset: Int? = nil, endOffset: Int? = nil, partOfSpeech: PartOfSpeechTag? = nil, text: String? = nil, tokenId: Int? = nil)