AWSComprehendSyntaxToken Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSComprehendModel.h
AWSComprehendModel.m

Overview

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.

  beginOffset

The zero-based offset from the beginning of the source text to the first character in the word.

@property (nonatomic, strong) NSNumber *beginOffset

Declared In

AWSComprehendModel.h

  endOffset

The zero-based offset from the beginning of the source text to the last character in the word.

@property (nonatomic, strong) NSNumber *endOffset

Declared In

AWSComprehendModel.h

  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 how-syntax.

@property (nonatomic, strong) AWSComprehendPartOfSpeechTag *partOfSpeech

Declared In

AWSComprehendModel.h

  text

The word that was recognized in the source text.

@property (nonatomic, strong) NSString *text

Declared In

AWSComprehendModel.h

  tokenId

A unique identifier for a token.

@property (nonatomic, strong) NSNumber *tokenId

Declared In

AWSComprehendModel.h