blib/lib/Paws/Comprehend/SyntaxToken.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Comprehend::SyntaxToken;
3 use Moose;
4 has BeginOffset => (is => 'ro', isa => 'Int');
5 has EndOffset => (is => 'ro', isa => 'Int');
6 has PartOfSpeech => (is => 'ro', isa => 'Paws::Comprehend::PartOfSpeechTag');
7 has Text => (is => 'ro', isa => 'Str');
8 has TokenId => (is => 'ro', isa => 'Int');
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::Comprehend::SyntaxToken
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::Comprehend::SyntaxToken object:
28  
29 $service_obj->Method(Att1 => { BeginOffset => $value, ..., TokenId => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::Comprehend::SyntaxToken object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->BeginOffset
37  
38 =head1 DESCRIPTION
39  
40 Represents a work in the input text that was recognized and assigned a
41 part of speech. There is one syntax token record for each word in the
42 source text.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 BeginOffset => Int
48  
49 The zero-based offset from the beginning of the source text to the
50 first character in the word.
51  
52  
53 =head2 EndOffset => Int
54  
55 The zero-based offset from the beginning of the source text to the last
56 character in the word.
57  
58  
59 =head2 PartOfSpeech => L<Paws::Comprehend::PartOfSpeechTag>
60  
61 Provides the part of speech label and the confidence level that Amazon
62 Comprehend has that the part of speech was correctly identified. For
63 more information, see how-syntax.
64  
65  
66 =head2 Text => Str
67  
68 The word that was recognized in the source text.
69  
70  
71 =head2 TokenId => Int
72  
73 A unique identifier for a token.
74  
75  
76  
77 =head1 SEE ALSO
78  
79 This class forms part of L<Paws>, describing an object used in L<Paws::Comprehend>
80  
81 =head1 BUGS and CONTRIBUTIONS
82  
83 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
84  
85 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
86  
87 =cut
88