Initializes a new instance of the OpenOfficeDictionary class.

OpenOfficeDictionary(String)

public OpenOfficeDictionary(string dictionaryPath);
Public Sub New(dictionaryPath As String)

OpenOfficeDictionary(String[], String[], System.Globalization.CultureInfo)

public OpenOfficeDictionary(string[] dictionaryLines, string[] affixLines, System.Globalization.CultureInfo language);
Public Sub New(dictionaryLines As String(), affixLines As String(), language As System.Globalization.CultureInfo)

Parameters

Parameter Description
dictionaryPath Specifies the path for the Hunspell Open Source dictionary dict file. By specifying only the dictionary name without any file path, the corresponding dictionary file of the default dictionary folder is used. The name of the specified Hunspell Open Source dictionary file must end with ".dic" or ".aff". If the file does not exist, an ArgumentException is thrown.
dictionaryLines The string array that represents the content of a Hunspell Open Source dictionary file. Each string of this array is considered as a line of the dictionary file.
affixLines The string array that represents the content of a Hunspell Open Source affix file. Each string of this array is considered as a line of the affix file.
language Specifies the language of the dictionary.