Search Results for

    Show / Hide Table of Contents

    Class NoriTokenizerDescriptor

    Tokenizer that ships with the analysis-nori plugin

    Inheritance
    object
    DescriptorBase<NoriTokenizerDescriptor, INoriTokenizer>
    TokenizerDescriptorBase<NoriTokenizerDescriptor, INoriTokenizer>
    NoriTokenizerDescriptor
    Implements
    IDescriptor
    INoriTokenizer
    ITokenizer
    Inherited Members
    TokenizerDescriptorBase<NoriTokenizerDescriptor, INoriTokenizer>.Type
    TokenizerDescriptorBase<NoriTokenizerDescriptor, INoriTokenizer>.Version(string)
    DescriptorBase<NoriTokenizerDescriptor, INoriTokenizer>.Self
    DescriptorBase<NoriTokenizerDescriptor, INoriTokenizer>.Assign<TValue>(TValue, Action<INoriTokenizer, TValue>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class NoriTokenizerDescriptor : TokenizerDescriptorBase<NoriTokenizerDescriptor, INoriTokenizer>, IDescriptor, INoriTokenizer, ITokenizer

    Properties

    | Edit this page View Source

    Type

    Declaration
    protected override string Type { get; }
    Property Value
    Type Description
    string
    Overrides
    TokenizerDescriptorBase<NoriTokenizerDescriptor, INoriTokenizer>.Type

    Methods

    | Edit this page View Source

    DecompoundMode(NoriDecompoundMode?)

    The regular expression pattern, defaults to \W+.

    Declaration
    public NoriTokenizerDescriptor DecompoundMode(NoriDecompoundMode? mode)
    Parameters
    Type Name Description
    NoriDecompoundMode? mode
    Returns
    Type Description
    NoriTokenizerDescriptor
    | Edit this page View Source

    DiscardPunctuation(bool?)

    Whether punctuation should be discarded from the output. Defaults to true.

    Declaration
    public NoriTokenizerDescriptor DiscardPunctuation(bool? discard = true)
    Parameters
    Type Name Description
    bool? discard
    Returns
    Type Description
    NoriTokenizerDescriptor
    | Edit this page View Source

    UserDictionary(string)

    The Nori tokenizer uses the mecab-ko-dic dictionary by default. A user_dictionary with custom nouns (NNG) may be appended to the default dictionary. This property allows you to specify this file on disk

    Declaration
    public NoriTokenizerDescriptor UserDictionary(string path)
    Parameters
    Type Name Description
    string path
    Returns
    Type Description
    NoriTokenizerDescriptor
    | Edit this page View Source

    UserDictionaryRules(IEnumerable<string>)

    The Nori tokenizer uses the mecab-ko-dic dictionary by default. A user_dictionary with custom nouns (NNG) can be specified inline with this property

    Declaration
    public NoriTokenizerDescriptor UserDictionaryRules(IEnumerable<string> rules)
    Parameters
    Type Name Description
    IEnumerable<string> rules
    Returns
    Type Description
    NoriTokenizerDescriptor
    | Edit this page View Source

    UserDictionaryRules(params string[])

    The Nori tokenizer uses the mecab-ko-dic dictionary by default. A user_dictionary with custom nouns (NNG) can be specified inline with this property

    Declaration
    public NoriTokenizerDescriptor UserDictionaryRules(params string[] rules)
    Parameters
    Type Name Description
    string[] rules
    Returns
    Type Description
    NoriTokenizerDescriptor

    Implements

    IDescriptor
    INoriTokenizer
    ITokenizer

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Type
    • Methods
      • DecompoundMode(NoriDecompoundMode?)
      • DiscardPunctuation(bool?)
      • UserDictionary(string)
      • UserDictionaryRules(IEnumerable<string>)
      • UserDictionaryRules(params string[])
    • Implements
    • Extension Methods
    Back to top Generated by DocFX