SilverStripe\SpellCheck\Providers\HunSpellProvider
Implements spellcheck using the hunspell library
Synopsis
class HunSpellProvider
implements
SpellProvider
{
- // members
- private static string $pattern = "/^(?P<type>&)\s(?P<original>\w+)\s(?P<count>\d+)\s(?P<offset>\d+):\s(?P<misses>.*+)$/u";
- // methods
- protected int invoke()
- protected array getResults()
- public void checkWords()
- public void getSuggestions()
Hierarchy
Implements
Members
private
- $pattern
—
string
See https://gist.github.com/sebskuse/1244667