AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::Comprehend::Model::SyntaxToken Class Reference

#include <SyntaxToken.h>

Public Member Functions

 SyntaxToken ()
 
 SyntaxToken (Aws::Utils::Json::JsonView jsonValue)
 
SyntaxTokenoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
int GetTokenId () const
 
bool TokenIdHasBeenSet () const
 
void SetTokenId (int value)
 
SyntaxTokenWithTokenId (int value)
 
const Aws::StringGetText () const
 
bool TextHasBeenSet () const
 
void SetText (const Aws::String &value)
 
void SetText (Aws::String &&value)
 
void SetText (const char *value)
 
SyntaxTokenWithText (const Aws::String &value)
 
SyntaxTokenWithText (Aws::String &&value)
 
SyntaxTokenWithText (const char *value)
 
int GetBeginOffset () const
 
bool BeginOffsetHasBeenSet () const
 
void SetBeginOffset (int value)
 
SyntaxTokenWithBeginOffset (int value)
 
int GetEndOffset () const
 
bool EndOffsetHasBeenSet () const
 
void SetEndOffset (int value)
 
SyntaxTokenWithEndOffset (int value)
 
const PartOfSpeechTagGetPartOfSpeech () const
 
bool PartOfSpeechHasBeenSet () const
 
void SetPartOfSpeech (const PartOfSpeechTag &value)
 
void SetPartOfSpeech (PartOfSpeechTag &&value)
 
SyntaxTokenWithPartOfSpeech (const PartOfSpeechTag &value)
 
SyntaxTokenWithPartOfSpeech (PartOfSpeechTag &&value)
 

Detailed Description

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.

See Also:

AWS API Reference

Definition at line 34 of file SyntaxToken.h.

Constructor & Destructor Documentation

◆ SyntaxToken() [1/2]

Aws::Comprehend::Model::SyntaxToken::SyntaxToken ( )

◆ SyntaxToken() [2/2]

Aws::Comprehend::Model::SyntaxToken::SyntaxToken ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ BeginOffsetHasBeenSet()

bool Aws::Comprehend::Model::SyntaxToken::BeginOffsetHasBeenSet ( ) const
inline

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

Definition at line 115 of file SyntaxToken.h.

◆ EndOffsetHasBeenSet()

bool Aws::Comprehend::Model::SyntaxToken::EndOffsetHasBeenSet ( ) const
inline

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

Definition at line 140 of file SyntaxToken.h.

◆ GetBeginOffset()

int Aws::Comprehend::Model::SyntaxToken::GetBeginOffset ( ) const
inline

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

Definition at line 109 of file SyntaxToken.h.

◆ GetEndOffset()

int Aws::Comprehend::Model::SyntaxToken::GetEndOffset ( ) const
inline

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

Definition at line 134 of file SyntaxToken.h.

◆ GetPartOfSpeech()

const PartOfSpeechTag& Aws::Comprehend::Model::SyntaxToken::GetPartOfSpeech ( ) const
inline

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.

Definition at line 160 of file SyntaxToken.h.

◆ GetText()

const Aws::String& Aws::Comprehend::Model::SyntaxToken::GetText ( ) const
inline

The word that was recognized in the source text.

Definition at line 67 of file SyntaxToken.h.

◆ GetTokenId()

int Aws::Comprehend::Model::SyntaxToken::GetTokenId ( ) const
inline

A unique identifier for a token.

Definition at line 46 of file SyntaxToken.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Comprehend::Model::SyntaxToken::Jsonize ( ) const

◆ operator=()

SyntaxToken& Aws::Comprehend::Model::SyntaxToken::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PartOfSpeechHasBeenSet()

bool Aws::Comprehend::Model::SyntaxToken::PartOfSpeechHasBeenSet ( ) const
inline

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.

Definition at line 167 of file SyntaxToken.h.

◆ SetBeginOffset()

void Aws::Comprehend::Model::SyntaxToken::SetBeginOffset ( int  value)
inline

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

Definition at line 121 of file SyntaxToken.h.

◆ SetEndOffset()

void Aws::Comprehend::Model::SyntaxToken::SetEndOffset ( int  value)
inline

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

Definition at line 146 of file SyntaxToken.h.

◆ SetPartOfSpeech() [1/2]

void Aws::Comprehend::Model::SyntaxToken::SetPartOfSpeech ( const PartOfSpeechTag value)
inline

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.

Definition at line 174 of file SyntaxToken.h.

◆ SetPartOfSpeech() [2/2]

void Aws::Comprehend::Model::SyntaxToken::SetPartOfSpeech ( PartOfSpeechTag &&  value)
inline

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.

Definition at line 181 of file SyntaxToken.h.

◆ SetText() [1/3]

void Aws::Comprehend::Model::SyntaxToken::SetText ( const Aws::String value)
inline

The word that was recognized in the source text.

Definition at line 77 of file SyntaxToken.h.

◆ SetText() [2/3]

void Aws::Comprehend::Model::SyntaxToken::SetText ( Aws::String &&  value)
inline

The word that was recognized in the source text.

Definition at line 82 of file SyntaxToken.h.

◆ SetText() [3/3]

void Aws::Comprehend::Model::SyntaxToken::SetText ( const char *  value)
inline

The word that was recognized in the source text.

Definition at line 87 of file SyntaxToken.h.

◆ SetTokenId()

void Aws::Comprehend::Model::SyntaxToken::SetTokenId ( int  value)
inline

A unique identifier for a token.

Definition at line 56 of file SyntaxToken.h.

◆ TextHasBeenSet()

bool Aws::Comprehend::Model::SyntaxToken::TextHasBeenSet ( ) const
inline

The word that was recognized in the source text.

Definition at line 72 of file SyntaxToken.h.

◆ TokenIdHasBeenSet()

bool Aws::Comprehend::Model::SyntaxToken::TokenIdHasBeenSet ( ) const
inline

A unique identifier for a token.

Definition at line 51 of file SyntaxToken.h.

◆ WithBeginOffset()

SyntaxToken& Aws::Comprehend::Model::SyntaxToken::WithBeginOffset ( int  value)
inline

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

Definition at line 127 of file SyntaxToken.h.

◆ WithEndOffset()

SyntaxToken& Aws::Comprehend::Model::SyntaxToken::WithEndOffset ( int  value)
inline

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

Definition at line 152 of file SyntaxToken.h.

◆ WithPartOfSpeech() [1/2]

SyntaxToken& Aws::Comprehend::Model::SyntaxToken::WithPartOfSpeech ( const PartOfSpeechTag value)
inline

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.

Definition at line 188 of file SyntaxToken.h.

◆ WithPartOfSpeech() [2/2]

SyntaxToken& Aws::Comprehend::Model::SyntaxToken::WithPartOfSpeech ( PartOfSpeechTag &&  value)
inline

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.

Definition at line 195 of file SyntaxToken.h.

◆ WithText() [1/3]

SyntaxToken& Aws::Comprehend::Model::SyntaxToken::WithText ( const Aws::String value)
inline

The word that was recognized in the source text.

Definition at line 92 of file SyntaxToken.h.

◆ WithText() [2/3]

SyntaxToken& Aws::Comprehend::Model::SyntaxToken::WithText ( Aws::String &&  value)
inline

The word that was recognized in the source text.

Definition at line 97 of file SyntaxToken.h.

◆ WithText() [3/3]

SyntaxToken& Aws::Comprehend::Model::SyntaxToken::WithText ( const char *  value)
inline

The word that was recognized in the source text.

Definition at line 102 of file SyntaxToken.h.

◆ WithTokenId()

SyntaxToken& Aws::Comprehend::Model::SyntaxToken::WithTokenId ( int  value)
inline

A unique identifier for a token.

Definition at line 61 of file SyntaxToken.h.


The documentation for this class was generated from the following file: