Spellchecking backend implementation to work with a Googiespell service
| package |
Framework |
|---|---|
| subpackage |
Utils |
__construct( $dict, $lang)
check(string $text) : boolean
stringText content for spellchecking
booleanTrue when no mispelling found, otherwise false
error() : string
stringError message
get_suggestions(string $word) : array
stringThe word
arraySuggestions list
get_words(string $text = null) : array
stringThe content for spellchecking. If empty content used for check() method will be used.
arrayList of misspelled words
languages() : array
arrayIndexed list of language codes
GOOGIE_HOST
GOOGIE_PORT
MAX_SUGGESTIONS
matches :
content :
lang :
error :
dictionary :
separator :