Alphabet
Contents
[
Hide
]
Alphabet class
Represents a dictionary of characters that is used during indexing to detect character type. Each character can be handled as separator, as letter, or both.
public class Alphabet : DictionaryBase, IEnumerable<int>
Properties
Name | Description |
---|---|
Count { get; } | Gets the number of characters contained in the Alphabet . |
override DictionaryType { get; } | Gets the dictionary type. |
Methods
Name | Description |
---|---|
override Clear() | Sets the Separator type for all characters in this Alphabet . |
ExportDictionary(string) | Exports the dictionary to a file with the specified name. |
GetCharacterType(char) | Gets a type of a character. |
GetCharacterType(int) | Gets a type of a Unicode code point. |
GetCharacterType(string) | Gets a type of a character. This method can be used to obtain the type of surrogate pair. |
GetEnumerator() | Returns an enumerator that iterates through the collection. |
ImportDictionary(string) | Imports a dictionary from the specified file. |
SetRange(char[], CharacterType) | Sets the type for each character of the specified collection in this instance of the Alphabet . |
SetRange(int[], CharacterType) | Sets the type for each character of the specified collection in this instance of the Alphabet . |
SetRange(string[], CharacterType) | Sets the type for each character of the specified collection in this instance of the Alphabet . |
Remarks
Learn more
See Also
- class DictionaryBase
- namespace GroupDocs.Search.Dictionaries
- assembly GroupDocs.Search