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. |