CharacterReplacementDictionary
Leave feedback
On this page
Represents a character replacement dictionary that is used during the indexing process. Character replacement can be used, for example, to remove accents from accented characters or to make case-insensitive index.
public class CharacterReplacementDictionary : DictionaryBase, IEnumerable<int>
| Name | Description |
|---|---|
| Count { get; } | Gets the number of Unicode code points contained in this CharacterReplacementDictionary. |
| override DictionaryType { get; } | Gets the dictionary type. |
| Name | Description |
|---|---|
| AddRange(CharacterReplacementPair[]) | Adds the specified collection of character replacements to this instance of the CharacterReplacementDictionary. |
| AddRange(IEnumerable<CharacterReplacementPair>) | Adds the specified collection of character replacements to this instance of the CharacterReplacementDictionary. |
| AddRange(IEnumerable<KeyValuePair<char, char>>) | Adds the specified collection of character replacements to this instance of the CharacterReplacementDictionary. |
| AddRange(IEnumerable<KeyValuePair<int, int>>) | Adds the specified collection of Unicode code point replacements to this instance of the CharacterReplacementDictionary. |
| override Clear() | Removes all character replacements from a CharacterReplacementDictionary object. |
| Contains(int) | Determines whether a CharacterReplacementDictionary object contains a replacement for the specified Unicode code point. |
| ExportDictionary(string) | Exports the dictionary to a file with the specified name. |
| GetEnumerator() | Returns an enumerator that iterates through the collection. |
| GetReplacement(int) | Gets a replacement for the specified Unicode code point. |
| ImportDictionary(string) | Imports a dictionary from the specified file. |
| RemoveRange(char[]) | Removes the specified collection of character replacements from this instance of the CharacterReplacementDictionary. |
| RemoveRange(IEnumerable<char>) | Removes the specified collection of character replacements from this instance of the CharacterReplacementDictionary. |
| RemoveRange(IEnumerable<int>) | Removes the specified collection of Unicode code points replacements from this instance of the CharacterReplacementDictionary. |
| RemoveRange(int[]) | Removes the specified collection of Unicode code points replacements from this instance of the CharacterReplacementDictionary. |
Learn more
- class DictionaryBase
- namespace GroupDocs.Search.Dictionaries
- assembly GroupDocs.Search
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.