Paws::Comprehend::SyntaxToken
This class represents one of two things:
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Comprehend::SyntaxToken object:
$service_obj->Method(Att1 => { BeginOffset => $value, ..., TokenId => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::Comprehend::SyntaxToken object:
$result = $service_obj->Method(...); $result->Att1->BeginOffset
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.
The zero-based offset from the beginning of the source text to the first character in the word.
The zero-based offset from the beginning of the source text to the last character in the word.
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.
The word that was recognized in the source text.
A unique identifier for a token.
This class forms part of Paws, describing an object used in Paws::Comprehend
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.