« blib/lib/Paws/Comprehend/ClassifyDocument.pm
↑ Summary
blib/lib/Paws/Comprehend/ContainsPiiEntities.pm »
| 1 | |||
| 2 | package Paws::Comprehend::ClassifyDocumentResponse; | ||
| 3 | use Moose; | ||
| 4 | has Classes => (is => 'ro', isa => 'ArrayRef[Paws::Comprehend::DocumentClass]'); | ||
| 5 | has Labels => (is => 'ro', isa => 'ArrayRef[Paws::Comprehend::DocumentLabel]'); | ||
| 6 | |||
| 7 | has _request_id => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Comprehend::ClassifyDocumentResponse | ||
| 14 | |||
| 15 | =head1 ATTRIBUTES | ||
| 16 | |||
| 17 | |||
| 18 | =head2 Classes => ArrayRef[L<Paws::Comprehend::DocumentClass>] | ||
| 19 | |||
| 20 | The classes used by the document being analyzed. These are used for | ||
| 21 | multi-class trained models. Individual classes are mutually exclusive | ||
| 22 | and each document is expected to have only a single class assigned to | ||
| 23 | it. For example, an animal can be a dog or a cat, but not both at the | ||
| 24 | same time. | ||
| 25 | |||
| 26 | |||
| 27 | =head2 Labels => ArrayRef[L<Paws::Comprehend::DocumentLabel>] | ||
| 28 | |||
| 29 | The labels used the document being analyzed. These are used for | ||
| 30 | multi-label trained models. Individual labels represent different | ||
| 31 | categories that are related in some manner and are not mutually | ||
| 32 | exclusive. For example, a movie can be just an action movie, or it can | ||
| 33 | be an action movie, a science fiction movie, and a comedy, all at the | ||
| 34 | same time. | ||
| 35 | |||
| 36 | |||
| 37 | =head2 _request_id => Str | ||
| 38 | |||
| 39 | |||
| 40 | =cut | ||
| 41 | |||
| 42 | 1; |