Spellchecking backend implementation to work with a Googiespell service
package |
Framework |
---|---|
subpackage |
Utils |
languages() : array
array
Indexed list of language codes
check(string $text) : bool
string
Text content for spellchecking
bool
True when no mispelling found, otherwise false
get_suggestions(string $word) : array
string
The word
array
Suggestions list
get_words(string $text = null) : array
string
The content for spellchecking. If empty content
used for check() method will be used.
array
List of misspelled words
__construct($dict, $lang)
error() : string
string
Error message
GOOGIE_HOST
GOOGIE_PORT
MAX_SUGGESTIONS
matches :
content :
lang :
error :
dictionary :
separator :