
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
FromFile(string, string, int)
Parses Hunspell affix and dictionary content from files on disk. Results are cached by content hash for subsequent calls.
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.
Parse(string, string, int)
Parses Hunspell affix and dictionary content from strings. Results are cached by content hash for subsequent calls.
Stem(string)
Returns known stems for the supplied surface form.