HunSpellProvider
class HunSpellProvider implements SpellProvider (View source)
Implements spellcheck using the hunspell library
Properties
Methods
protected
int
invoke(string $locale, string $input, string $stdout, string $stderr)
Invoke hunspell library
public
array
getSuggestions(string $locale, string $word)
Returns suggestions of for a specific word.
Details
protected int
invoke(string $locale, string $input, string $stdout, string $stderr)
Invoke hunspell library
protected array
getResults(string $locale, array $words)
Get results from hunspell
array
checkWords(string $locale, array $words)
Spellchecks an array of words.
array
getSuggestions(string $locale, string $word)
Returns suggestions of for a specific word.