GoLang enchant_dict_check

request it (389)
GoLang replacement for PHP's enchant_dict_check [edit | history]



Do you know a GoLang replacement for PHP's enchant_dict_check? Write it!

PHP enchant_dict_check

PHP original manual for enchant_dict_check [ show | php.net ]

enchant_dict_check

(PHP 5 >= 5.3.0, PHP 7, PECL enchant >= 0.1.0 )

enchant_dict_checkCheck whether a word is correctly spelled or not

Description

bool enchant_dict_check ( resource $dict , string $word )

If the word is correctly spelled return TRUE, otherwise return FALSE

Parameters

dict

Dictionary resource

word

The word to check

Return Values

Returns TRUE if the word is spelled correctly, FALSE if not.