You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudSearch::Types::AnalysisScheme
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudSearch::Types::AnalysisScheme
- Defined in:
- (unknown)
Overview
When passing AnalysisScheme as input to an Aws::Client method, you can use a vanilla 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
.
Returned by:
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.Possible values:
- 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_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.
#analysis_scheme_language ⇒ String
An IETF RFC 4646 language code or mul
for multiple languages.
Possible values:
- 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_scheme_name ⇒ String
Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).