Class: Aws::CloudSearch::Types::AnalysisScheme
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudSearch::Types::AnalysisScheme
- Includes:
- Structure
- Defined in:
- 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`.
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] 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.
150 151 152 153 154 155 |
# File 'lib/aws-sdk-cloudsearch/types.rb', line 150 class AnalysisScheme < Struct.new( :analysis_scheme_name, :analysis_scheme_language, :analysis_options) include Aws::Structure end |
#analysis_scheme_language ⇒ String
An [IETF RFC 4646] language code or ‘mul` for multiple languages.
150 151 152 153 154 155 |
# File 'lib/aws-sdk-cloudsearch/types.rb', line 150 class AnalysisScheme < Struct.new( :analysis_scheme_name, :analysis_scheme_language, :analysis_options) 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).
150 151 152 153 154 155 |
# File 'lib/aws-sdk-cloudsearch/types.rb', line 150 class AnalysisScheme < Struct.new( :analysis_scheme_name, :analysis_scheme_language, :analysis_options) include Aws::Structure end |