EdgeNGramTokenizer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tokenizes the input from an edge into n-grams of the given size(s). This tokenizer is implemented using Apache Lucene. https://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/ngram/EdgeNGramTokenizer.html
[Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.EdgeNGramTokenizer")]
public class EdgeNGramTokenizer : Microsoft.Azure.Search.Models.Tokenizer
[<Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.EdgeNGramTokenizer")>]
type EdgeNGramTokenizer = class
inherit Tokenizer
Public Class EdgeNGramTokenizer
Inherits Tokenizer
- Inheritance
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute
Constructors
EdgeNGramTokenizer() |
Initializes a new instance of the EdgeNGramTokenizer class. |
EdgeNGramTokenizer(String, Nullable<Int32>, Nullable<Int32>, IList<TokenCharacterKind>) |
Initializes a new instance of the EdgeNGramTokenizer class. |
Properties
MaxGram |
Gets or sets the maximum n-gram length. Default is 2. Maximum is 300. |
MinGram |
Gets or sets the minimum n-gram length. Default is 1. Maximum is 300. Must be less than the value of maxGram. |
Name |
Gets or sets the name of the tokenizer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters. (Inherited from Tokenizer) |
TokenChars |
Gets or sets character classes to keep in the tokens. |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET