HomophoneDictionary

HomophoneDictionary class

Represents a dictionary of heterographic homophones.

public class HomophoneDictionary : DictionaryBase, IEnumerable<string>

Properties

Name Description
Count { get; } Gets the number of words contained in this HomophoneDictionary.
override DictionaryType { get; } Gets the dictionary type.

Methods

Name Description
AddRange(IEnumerable<string[]>) Adds the specified collection of homophone groups to this instance of the HomophoneDictionary.
AddRange(string[][]) Adds the specified collection of homophone groups to this instance of the HomophoneDictionary.
override Clear() Removes all words from a HomophoneDictionary object.
ExportDictionary(string) Exports the dictionary to a file with the specified name.
GetAllHomophoneGroups() Gets all groups of homophones contained in this dictionary.
GetEnumerator() Returns an enumerator that iterates through the collection.
GetHomophoneGroups(string) Gets all groups of homophones to which the specified word belongs.
GetHomophones(string) Gets the homophones for the specified word. The resulting array does not contain the original word.
ImportDictionary(string) Imports a dictionary from the specified file.

Remarks

Learn more

See Also