Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface IScriptAttribute

    This attribute stores the UTR #24 script value for a token of text.

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inherited Members
    IAttribute.CopyTo(IAttribute)
    Namespace: Lucene.Net.Analysis.Icu.TokenAttributes
    Assembly: Lucene.Net.ICU.dll
    Syntax
    public interface IScriptAttribute : IAttribute

    Properties

    Code

    Gets or Sets the numeric code for this script value.

    This is the constant value from ICU4N.Globalization.UScript.
    Declaration
    int Code { get; set; }
    Property Value
    Type Description
    int

    Methods

    GetName()

    Get the full name.

    Declaration
    string GetName()
    Returns
    Type Description
    string

    UTR #24 full name.

    GetShortName()

    Get the abbreviated name.

    Declaration
    string GetShortName()
    Returns
    Type Description
    string

    UTR #24 abbreviated name.

    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.