The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::ComprehendMedical::Attribute

USAGE

This 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::ComprehendMedical::Attribute object:

  $service_obj->Method(Att1 => { BeginOffset => $value, ..., Type => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::ComprehendMedical::Attribute object:

  $result = $service_obj->Method(...);
  $result->Att1->BeginOffset

DESCRIPTION

An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken. It contains information about the attribute such as id, begin and end offset within the input text, and the segment of the input text.

ATTRIBUTES

BeginOffset => Int

  The 0-based character offset in the input text that shows where the
attribute begins. The offset returns the UTF-8 code point in the
string.

EndOffset => Int

  The 0-based character offset in the input text that shows where the
attribute ends. The offset returns the UTF-8 code point in the string.

Id => Int

  The numeric identifier for this attribute. This is a monotonically
increasing id unique within this response rather than a global unique
identifier.

RelationshipScore => Num

  The level of confidence that Comprehend Medical has that this attribute
is correctly related to this entity.

Score => Num

  The level of confidence that Comprehend Medical has that the segment of
text is correctly recognized as an attribute.

Text => Str

  The segment of input text extracted as this attribute.

Traits => ArrayRef[Paws::ComprehendMedical::Trait]

  Contextual information for this attribute.

Type => Str

  The type of attribute.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::ComprehendMedical

BUGS and CONTRIBUTIONS

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