Constructor SpellChecker
SpellChecker(Store.Directory, IStringDistance)
Use the given directory as a spell checker index. The directory is created if it doesn't exist yet.
Declaration
public SpellChecker(Store.Directory spellIndex, IStringDistance sd)
Parameters
Type | Name | Description |
---|---|---|
Directory | spellIndex | the spell index directory |
IStringDistance | sd | the StringDistance measurement to use |
SpellChecker(Store.Directory)
Use the given directory as a spell checker index with a LevensteinDistance as the default StringDistance. The directory is created if it doesn't exist yet.
Declaration
public SpellChecker(Store.Directory spellIndex)
Parameters
Type | Name | Description |
---|---|---|
Directory | spellIndex | the spell index directory |
SpellChecker(Store.Directory, IStringDistance, IComparer<SuggestWord>)
Use the given directory as a spell checker index with the given IStringDistance measure
and the given
Declaration
public SpellChecker(Store.Directory spellIndex, IStringDistance sd, IComparer<SuggestWord> comparer)
Parameters
Type | Name | Description |
---|---|---|
Directory | spellIndex | The spelling index |
IStringDistance | sd | The distance |
IComparer<SuggestWord> | comparer | The comparer |