Class: Aws::Comprehend::Types::PartOfSpeechTag

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-comprehend/types.rb

Overview

Identifies the part of speech represented by the token and gives the confidence that Amazon Comprehend has that the part of speech was correctly identified. For more information about the parts of speech that Amazon Comprehend can identify, see [Syntax] in the Comprehend Developer Guide.

[1]: docs.aws.amazon.com/comprehend/latest/dg/how-syntax.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#scoreFloat

The confidence that Amazon Comprehend has that the part of speech was correctly identified.

Returns:

  • (Float)

6072
6073
6074
6075
6076
6077
# File 'lib/aws-sdk-comprehend/types.rb', line 6072

class PartOfSpeechTag < Struct.new(
  :tag,
  :score)
  SENSITIVE = []
  include Aws::Structure
end

#tagString

Identifies the part of speech that the token represents.

Returns:

  • (String)

6072
6073
6074
6075
6076
6077
# File 'lib/aws-sdk-comprehend/types.rb', line 6072

class PartOfSpeechTag < Struct.new(
  :tag,
  :score)
  SENSITIVE = []
  include Aws::Structure
end