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 how-syntax.

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)


3679
3680
3681
3682
3683
3684
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 3679

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

#tagString

Identifies the part of speech that the token represents.

Returns:

  • (String)


3679
3680
3681
3682
3683
3684
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 3679

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