AffixRuleCollection Constructor (IDictionary, Single, IHashCodeProvider, IComparer)

NetSpell.SpellChecker

NetSpell Documentation - v.2.1.7

AffixRuleCollection Constructor (IDictionary, Single, IHashCodeProvider, IComparer)

Initializes a new instance of 'AffixRuleCollection'.

[Visual Basic]Overloads Public Sub New( _
   ByVal dictionary As IDictionary, _
   ByVal loadFactor As Single, _
   ByVal codeProvider As IHashCodeProvider, _
   ByVal comparer As IComparer _
)
[C#]
public AffixRuleCollection(
   IDictionary dictionary,
   float loadFactor,
   IHashCodeProvider codeProvider,
   IComparer comparer
);

Parameters

dictionary

The IDictionary to copy to a new 'AffixRuleCollection'.

loadFactor

A number in the range from 0.1 through 1.0 indicating the maximum ratio of elements to buckets.

codeProvider

The IHashCodeProvider that supplies the hash codes for all keys in the 'AffixRuleCollection'.

comparer

The IComparer to use to determine whether two keys are equal.

See Also

AffixRuleCollection Class | NetSpell.SpellChecker.Dictionary.Affix Namespace | AffixRuleCollection Constructor Overload List