SyntaxToken
¶
Source code in docs_src/capo_comprehend/types/syntax_token.py
begin_offset
instance-attribute
¶
begin_offset: NotRequired[Integer]
The zero-based offset from the beginning of the source text to the first character in the word.
end_offset
instance-attribute
¶
end_offset: NotRequired[Integer]
The zero-based offset from the beginning of the source text to the last character in the word.
part_of_speech
instance-attribute
¶
part_of_speech: NotRequired[PartOfSpeechTag]
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 Syntax in the Comprehend Developer Guide.