Class: Aws::CloudSearch::Types::AnalysisScheme
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudSearch::Types::AnalysisScheme
- Defined in:
- gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/types.rb
Overview
When making an API call, you may pass AnalysisScheme data as a hash:
{
analysis_scheme_name: "StandardName", # required
analysis_scheme_language: "ar", # required, accepts ar, bg, ca, cs, da, de, el, en, es, eu, fa, fi, fr, ga, gl, he, hi, hu, hy, id, it, ja, ko, lv, mul, nl, no, pt, ro, ru, sv, th, tr, zh-Hans, zh-Hant
analysis_options: {
synonyms: "String",
stopwords: "String",
stemming_dictionary: "String",
japanese_tokenization_dictionary: "String",
algorithmic_stemming: "none", # accepts none, minimal, light, full
},
}
Configuration information for an analysis scheme. Each analysis scheme
has a unique name and specifies the language of the text to be
processed. The following options can be configured for an analysis
scheme: Synonyms
, Stopwords
, StemmingDictionary
,
JapaneseTokenizationDictionary
and AlgorithmicStemming
.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#analysis_options ⇒ Types::AnalysisOptions
Synonyms, stopwords, and stemming options for an analysis scheme.
-
#analysis_scheme_language ⇒ String
An [IETF RFC 4646][1] language code or
mul
for multiple languages. -
#analysis_scheme_name ⇒ String
Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
Instance Attribute Details
#analysis_options ⇒ Types::AnalysisOptions
Synonyms, stopwords, and stemming options for an analysis scheme. Includes tokenization dictionary for Japanese.
154 155 156 157 158 159 160 |
# File 'gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/types.rb', line 154 class AnalysisScheme < Struct.new( :analysis_scheme_name, :analysis_scheme_language, :analysis_options) SENSITIVE = [] include Aws::Structure end |
#analysis_scheme_language ⇒ String
An IETF RFC 4646 language code or mul
for multiple languages.
154 155 156 157 158 159 160 |
# File 'gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/types.rb', line 154 class AnalysisScheme < Struct.new( :analysis_scheme_name, :analysis_scheme_language, :analysis_options) SENSITIVE = [] include Aws::Structure end |
#analysis_scheme_name ⇒ String
Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
154 155 156 157 158 159 160 |
# File 'gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/types.rb', line 154 class AnalysisScheme < Struct.new( :analysis_scheme_name, :analysis_scheme_language, :analysis_options) SENSITIVE = [] include Aws::Structure end |