![]() |
![]()
| ![]() |
![]()
NAMEPaws::Comprehend::SyntaxToken USAGEThis class represents one of two things: Arguments in a call to a service 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 }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::Comprehend::SyntaxToken object: $result = $service_obj->Method(...); $result->Att1->BeginOffset DESCRIPTIONRepresents 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. ATTRIBUTESBeginOffset => IntThe zero-based offset from the beginning of the source text to the first character in the word. EndOffset => IntThe zero-based offset from the beginning of the source text to the last character in the word. PartOfSpeech => Paws::Comprehend::PartOfSpeechTagProvides 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. Text => StrThe word that was recognized in the source text. TokenId => IntA unique identifier for a token. SEE ALSOThis class forms part of Paws, describing an object used in Paws::Comprehend BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|