Class: Aws::Kendra::Types::Correction

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

Overview

A corrected misspelled word in a query.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#begin_offsetInteger

The zero-based location in the response string or text where the corrected word starts.

Returns:

  • (Integer)


1864
1865
1866
1867
1868
1869
1870
1871
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 1864

class Correction < Struct.new(
  :begin_offset,
  :end_offset,
  :term,
  :corrected_term)
  SENSITIVE = []
  include Aws::Structure
end

#corrected_termString

The string or text of a corrected misspelled word in a query.

Returns:

  • (String)


1864
1865
1866
1867
1868
1869
1870
1871
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 1864

class Correction < Struct.new(
  :begin_offset,
  :end_offset,
  :term,
  :corrected_term)
  SENSITIVE = []
  include Aws::Structure
end

#end_offsetInteger

The zero-based location in the response string or text where the corrected word ends.

Returns:

  • (Integer)


1864
1865
1866
1867
1868
1869
1870
1871
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 1864

class Correction < Struct.new(
  :begin_offset,
  :end_offset,
  :term,
  :corrected_term)
  SENSITIVE = []
  include Aws::Structure
end

#termString

The string or text of a misspelled word in a query.

Returns:

  • (String)


1864
1865
1866
1867
1868
1869
1870
1871
# File 'gems/aws-sdk-kendra/lib/aws-sdk-kendra/types.rb', line 1864

class Correction < Struct.new(
  :begin_offset,
  :end_offset,
  :term,
  :corrected_term)
  SENSITIVE = []
  include Aws::Structure
end