/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Synonyms, stopwords, and stemming options for an analysis scheme. Includes
* tokenization dictionary for Japanese.See Also:
AWS
* API Reference
A JSON object that defines synonym groups and aliases. A synonym group is an * array of arrays, where each sub-array is a group of terms where each term in the * group is considered a synonym of every other term in the group. The aliases * value is an object that contains a collection of string:value pairs where the * string specifies a term and the array of values specifies each of the aliases * for that term. An alias is considered a synonym of the specified term, but the * term is not considered a synonym of the alias. For more information about * specifying synonyms, see Synonyms * in the Amazon CloudSearch Developer Guide.
*/ inline const Aws::String& GetSynonyms() const{ return m_synonyms; } /** *A JSON object that defines synonym groups and aliases. A synonym group is an * array of arrays, where each sub-array is a group of terms where each term in the * group is considered a synonym of every other term in the group. The aliases * value is an object that contains a collection of string:value pairs where the * string specifies a term and the array of values specifies each of the aliases * for that term. An alias is considered a synonym of the specified term, but the * term is not considered a synonym of the alias. For more information about * specifying synonyms, see Synonyms * in the Amazon CloudSearch Developer Guide.
*/ inline bool SynonymsHasBeenSet() const { return m_synonymsHasBeenSet; } /** *A JSON object that defines synonym groups and aliases. A synonym group is an * array of arrays, where each sub-array is a group of terms where each term in the * group is considered a synonym of every other term in the group. The aliases * value is an object that contains a collection of string:value pairs where the * string specifies a term and the array of values specifies each of the aliases * for that term. An alias is considered a synonym of the specified term, but the * term is not considered a synonym of the alias. For more information about * specifying synonyms, see Synonyms * in the Amazon CloudSearch Developer Guide.
*/ inline void SetSynonyms(const Aws::String& value) { m_synonymsHasBeenSet = true; m_synonyms = value; } /** *A JSON object that defines synonym groups and aliases. A synonym group is an * array of arrays, where each sub-array is a group of terms where each term in the * group is considered a synonym of every other term in the group. The aliases * value is an object that contains a collection of string:value pairs where the * string specifies a term and the array of values specifies each of the aliases * for that term. An alias is considered a synonym of the specified term, but the * term is not considered a synonym of the alias. For more information about * specifying synonyms, see Synonyms * in the Amazon CloudSearch Developer Guide.
*/ inline void SetSynonyms(Aws::String&& value) { m_synonymsHasBeenSet = true; m_synonyms = std::move(value); } /** *A JSON object that defines synonym groups and aliases. A synonym group is an * array of arrays, where each sub-array is a group of terms where each term in the * group is considered a synonym of every other term in the group. The aliases * value is an object that contains a collection of string:value pairs where the * string specifies a term and the array of values specifies each of the aliases * for that term. An alias is considered a synonym of the specified term, but the * term is not considered a synonym of the alias. For more information about * specifying synonyms, see Synonyms * in the Amazon CloudSearch Developer Guide.
*/ inline void SetSynonyms(const char* value) { m_synonymsHasBeenSet = true; m_synonyms.assign(value); } /** *A JSON object that defines synonym groups and aliases. A synonym group is an * array of arrays, where each sub-array is a group of terms where each term in the * group is considered a synonym of every other term in the group. The aliases * value is an object that contains a collection of string:value pairs where the * string specifies a term and the array of values specifies each of the aliases * for that term. An alias is considered a synonym of the specified term, but the * term is not considered a synonym of the alias. For more information about * specifying synonyms, see Synonyms * in the Amazon CloudSearch Developer Guide.
*/ inline AnalysisOptions& WithSynonyms(const Aws::String& value) { SetSynonyms(value); return *this;} /** *A JSON object that defines synonym groups and aliases. A synonym group is an * array of arrays, where each sub-array is a group of terms where each term in the * group is considered a synonym of every other term in the group. The aliases * value is an object that contains a collection of string:value pairs where the * string specifies a term and the array of values specifies each of the aliases * for that term. An alias is considered a synonym of the specified term, but the * term is not considered a synonym of the alias. For more information about * specifying synonyms, see Synonyms * in the Amazon CloudSearch Developer Guide.
*/ inline AnalysisOptions& WithSynonyms(Aws::String&& value) { SetSynonyms(std::move(value)); return *this;} /** *A JSON object that defines synonym groups and aliases. A synonym group is an * array of arrays, where each sub-array is a group of terms where each term in the * group is considered a synonym of every other term in the group. The aliases * value is an object that contains a collection of string:value pairs where the * string specifies a term and the array of values specifies each of the aliases * for that term. An alias is considered a synonym of the specified term, but the * term is not considered a synonym of the alias. For more information about * specifying synonyms, see Synonyms * in the Amazon CloudSearch Developer Guide.
*/ inline AnalysisOptions& WithSynonyms(const char* value) { SetSynonyms(value); return *this;} /** *A JSON array of terms to ignore during indexing and searching. For example,
* ["a", "an", "the", "of"]
. The stopwords dictionary must explicitly
* list each word you want to ignore. Wildcards and regular expressions are not
* supported.
A JSON array of terms to ignore during indexing and searching. For example,
* ["a", "an", "the", "of"]
. The stopwords dictionary must explicitly
* list each word you want to ignore. Wildcards and regular expressions are not
* supported.
A JSON array of terms to ignore during indexing and searching. For example,
* ["a", "an", "the", "of"]
. The stopwords dictionary must explicitly
* list each word you want to ignore. Wildcards and regular expressions are not
* supported.
A JSON array of terms to ignore during indexing and searching. For example,
* ["a", "an", "the", "of"]
. The stopwords dictionary must explicitly
* list each word you want to ignore. Wildcards and regular expressions are not
* supported.
A JSON array of terms to ignore during indexing and searching. For example,
* ["a", "an", "the", "of"]
. The stopwords dictionary must explicitly
* list each word you want to ignore. Wildcards and regular expressions are not
* supported.
A JSON array of terms to ignore during indexing and searching. For example,
* ["a", "an", "the", "of"]
. The stopwords dictionary must explicitly
* list each word you want to ignore. Wildcards and regular expressions are not
* supported.
A JSON array of terms to ignore during indexing and searching. For example,
* ["a", "an", "the", "of"]
. The stopwords dictionary must explicitly
* list each word you want to ignore. Wildcards and regular expressions are not
* supported.
A JSON array of terms to ignore during indexing and searching. For example,
* ["a", "an", "the", "of"]
. The stopwords dictionary must explicitly
* list each word you want to ignore. Wildcards and regular expressions are not
* supported.
A JSON object that contains a collection of string:value pairs that each map
* a term to its stem. For example, {"term1": "stem1", "term2": "stem2",
* "term3": "stem3"}
. The stemming dictionary is applied in addition to any
* algorithmic stemming. This enables you to override the results of the
* algorithmic stemming to correct specific cases of overstemming or understemming.
* The maximum size of a stemming dictionary is 500 KB.
A JSON object that contains a collection of string:value pairs that each map
* a term to its stem. For example, {"term1": "stem1", "term2": "stem2",
* "term3": "stem3"}
. The stemming dictionary is applied in addition to any
* algorithmic stemming. This enables you to override the results of the
* algorithmic stemming to correct specific cases of overstemming or understemming.
* The maximum size of a stemming dictionary is 500 KB.
A JSON object that contains a collection of string:value pairs that each map
* a term to its stem. For example, {"term1": "stem1", "term2": "stem2",
* "term3": "stem3"}
. The stemming dictionary is applied in addition to any
* algorithmic stemming. This enables you to override the results of the
* algorithmic stemming to correct specific cases of overstemming or understemming.
* The maximum size of a stemming dictionary is 500 KB.
A JSON object that contains a collection of string:value pairs that each map
* a term to its stem. For example, {"term1": "stem1", "term2": "stem2",
* "term3": "stem3"}
. The stemming dictionary is applied in addition to any
* algorithmic stemming. This enables you to override the results of the
* algorithmic stemming to correct specific cases of overstemming or understemming.
* The maximum size of a stemming dictionary is 500 KB.
A JSON object that contains a collection of string:value pairs that each map
* a term to its stem. For example, {"term1": "stem1", "term2": "stem2",
* "term3": "stem3"}
. The stemming dictionary is applied in addition to any
* algorithmic stemming. This enables you to override the results of the
* algorithmic stemming to correct specific cases of overstemming or understemming.
* The maximum size of a stemming dictionary is 500 KB.
A JSON object that contains a collection of string:value pairs that each map
* a term to its stem. For example, {"term1": "stem1", "term2": "stem2",
* "term3": "stem3"}
. The stemming dictionary is applied in addition to any
* algorithmic stemming. This enables you to override the results of the
* algorithmic stemming to correct specific cases of overstemming or understemming.
* The maximum size of a stemming dictionary is 500 KB.
A JSON object that contains a collection of string:value pairs that each map
* a term to its stem. For example, {"term1": "stem1", "term2": "stem2",
* "term3": "stem3"}
. The stemming dictionary is applied in addition to any
* algorithmic stemming. This enables you to override the results of the
* algorithmic stemming to correct specific cases of overstemming or understemming.
* The maximum size of a stemming dictionary is 500 KB.
A JSON object that contains a collection of string:value pairs that each map
* a term to its stem. For example, {"term1": "stem1", "term2": "stem2",
* "term3": "stem3"}
. The stemming dictionary is applied in addition to any
* algorithmic stemming. This enables you to override the results of the
* algorithmic stemming to correct specific cases of overstemming or understemming.
* The maximum size of a stemming dictionary is 500 KB.
A JSON array that contains a collection of terms, tokens, readings and part * of speech for Japanese Tokenizaiton. The Japanese tokenization dictionary * enables you to override the default tokenization for selected terms. This is * only valid for Japanese language fields.
*/ inline const Aws::String& GetJapaneseTokenizationDictionary() const{ return m_japaneseTokenizationDictionary; } /** *A JSON array that contains a collection of terms, tokens, readings and part * of speech for Japanese Tokenizaiton. The Japanese tokenization dictionary * enables you to override the default tokenization for selected terms. This is * only valid for Japanese language fields.
*/ inline bool JapaneseTokenizationDictionaryHasBeenSet() const { return m_japaneseTokenizationDictionaryHasBeenSet; } /** *A JSON array that contains a collection of terms, tokens, readings and part * of speech for Japanese Tokenizaiton. The Japanese tokenization dictionary * enables you to override the default tokenization for selected terms. This is * only valid for Japanese language fields.
*/ inline void SetJapaneseTokenizationDictionary(const Aws::String& value) { m_japaneseTokenizationDictionaryHasBeenSet = true; m_japaneseTokenizationDictionary = value; } /** *A JSON array that contains a collection of terms, tokens, readings and part * of speech for Japanese Tokenizaiton. The Japanese tokenization dictionary * enables you to override the default tokenization for selected terms. This is * only valid for Japanese language fields.
*/ inline void SetJapaneseTokenizationDictionary(Aws::String&& value) { m_japaneseTokenizationDictionaryHasBeenSet = true; m_japaneseTokenizationDictionary = std::move(value); } /** *A JSON array that contains a collection of terms, tokens, readings and part * of speech for Japanese Tokenizaiton. The Japanese tokenization dictionary * enables you to override the default tokenization for selected terms. This is * only valid for Japanese language fields.
*/ inline void SetJapaneseTokenizationDictionary(const char* value) { m_japaneseTokenizationDictionaryHasBeenSet = true; m_japaneseTokenizationDictionary.assign(value); } /** *A JSON array that contains a collection of terms, tokens, readings and part * of speech for Japanese Tokenizaiton. The Japanese tokenization dictionary * enables you to override the default tokenization for selected terms. This is * only valid for Japanese language fields.
*/ inline AnalysisOptions& WithJapaneseTokenizationDictionary(const Aws::String& value) { SetJapaneseTokenizationDictionary(value); return *this;} /** *A JSON array that contains a collection of terms, tokens, readings and part * of speech for Japanese Tokenizaiton. The Japanese tokenization dictionary * enables you to override the default tokenization for selected terms. This is * only valid for Japanese language fields.
*/ inline AnalysisOptions& WithJapaneseTokenizationDictionary(Aws::String&& value) { SetJapaneseTokenizationDictionary(std::move(value)); return *this;} /** *A JSON array that contains a collection of terms, tokens, readings and part * of speech for Japanese Tokenizaiton. The Japanese tokenization dictionary * enables you to override the default tokenization for selected terms. This is * only valid for Japanese language fields.
*/ inline AnalysisOptions& WithJapaneseTokenizationDictionary(const char* value) { SetJapaneseTokenizationDictionary(value); return *this;} /** *The level of algorithmic stemming to perform: none
,
* minimal
, light
, or full
. The available
* levels vary depending on the language. For more information, see Language Specific Text Processing Settings in the Amazon
* CloudSearch Developer Guide
The level of algorithmic stemming to perform: none
,
* minimal
, light
, or full
. The available
* levels vary depending on the language. For more information, see Language Specific Text Processing Settings in the Amazon
* CloudSearch Developer Guide
The level of algorithmic stemming to perform: none
,
* minimal
, light
, or full
. The available
* levels vary depending on the language. For more information, see Language Specific Text Processing Settings in the Amazon
* CloudSearch Developer Guide
The level of algorithmic stemming to perform: none
,
* minimal
, light
, or full
. The available
* levels vary depending on the language. For more information, see Language Specific Text Processing Settings in the Amazon
* CloudSearch Developer Guide
The level of algorithmic stemming to perform: none
,
* minimal
, light
, or full
. The available
* levels vary depending on the language. For more information, see Language Specific Text Processing Settings in the Amazon
* CloudSearch Developer Guide
The level of algorithmic stemming to perform: none
,
* minimal
, light
, or full
. The available
* levels vary depending on the language. For more information, see Language Specific Text Processing Settings in the Amazon
* CloudSearch Developer Guide