Synonyms, stopwords, and stemming options for an analysis scheme.
Declaration Syntax
C# |
public class AnalysisOptions
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
AnalysisOptions()()()() | Initializes a new instance of the AnalysisOptions class | |
AlgorithmicStemming |
The level of algorithmic stemming to perform: none, minimal, light, or full. The available levels vary depending
on the language. For more information, see Langage Specific Text
Processing Settings in the Amazon CloudSearch Developer Guide Constraints: | |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
StemmingDictionary |
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.
| |
Stopwords |
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.
| |
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.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithAlgorithmicStemming(String) | Obsolete.
Sets the AlgorithmicStemming property
| |
WithStemmingDictionary(String) | Obsolete.
Sets the StemmingDictionary property
| |
WithStopwords(String) | Obsolete.
Sets the Stopwords property
| |
WithSynonyms(String) | Obsolete.
Sets the Synonyms property
|
Inheritance Hierarchy
Object | |
AnalysisOptions |