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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/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.

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)


6192
6193
6194
6195
6196
6197
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 6192

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

#tagString

Identifies the part of speech that the token represents.

Returns:

  • (String)


6192
6193
6194
6195
6196
6197
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 6192

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