AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Represents a work in the input text that was recognized and assigned a part of speech. There is one syntax token record for each word in the source text.
Namespace: Amazon.Comprehend.Model
Assembly: AWSSDK.Comprehend.dll
Version: 3.x.y.z
public class SyntaxToken
The SyntaxToken type exposes the following members
Name | Description | |
---|---|---|
SyntaxToken() |
Name | Type | Description | |
---|---|---|---|
BeginOffset | System.Int32 |
Gets and sets the property BeginOffset. The zero-based offset from the beginning of the source text to the first character in the word. |
|
EndOffset | System.Int32 |
Gets and sets the property EndOffset. The zero-based offset from the beginning of the source text to the last character in the word. |
|
PartOfSpeech | Amazon.Comprehend.Model.PartOfSpeechTag |
Gets and sets the property PartOfSpeech. 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. |
|
Text | System.String |
Gets and sets the property Text. The word that was recognized in the source text. |
|
TokenId | System.Int32 |
Gets and sets the property TokenId. A unique identifier for a token. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5