Class: Aws::GeoPlaces::Types::ComponentMatchScores

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb

Overview

Indicates how well the returned title and address components matches the input TextQuery. For each component a score is provied with 1 indicating all tokens were matched and 0 indicating no tokens were matched.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#addressTypes::AddressComponentMatchScores

The place's address.



756
757
758
759
760
761
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 756

class ComponentMatchScores < Struct.new(
  :title,
  :address)
  SENSITIVE = []
  include Aws::Structure
end

#titleFloat

Indicates the match score of the title in the text query that match the found title.

Returns:

  • (Float)


756
757
758
759
760
761
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 756

class ComponentMatchScores < Struct.new(
  :title,
  :address)
  SENSITIVE = []
  include Aws::Structure
end