Section navigation

Public classSealed HunspellDictionary

Namespace
Rowles.LeanCorpus.Analysis.Filters
Assembly
Rowles.LeanCorpus.dll

Lightweight Hunspell dictionary that supports short-form flags and simple prefix and suffix rules.

public sealed class HunspellDictionary
Inheritance
HunspellDictionary

Public method FromFile(string, string, int)

Parses Hunspell affix and dictionary content from files on disk. Results are cached by content hash for subsequent calls.

Public method FromStream(Stream, Stream, int)

Parses Hunspell affix and dictionary content from streams. The streams are read to completion but not disposed. Results are cached by content hash for subsequent calls.

Public method Parse(string, string, int)

Parses Hunspell affix and dictionary content from strings. Results are cached by content hash for subsequent calls.

Public method Stem(string)

Returns known stems for the supplied surface form.