marciano Posted October 12, 2009 Share Posted October 12, 2009 Hello! I've tested two cases using pspell functions. 1) $dictionary_link = pspell_new_personal ("/.../MyDict","es", "", "", "", PSPELL_FAST); 2) $pspell_config = pspell_config_create("es"); pspell_config_ignore($pspell_config, 4); pspell_config_personal($pspell_config, "/.../MyDict"); $dictionary_link = pspell_new_config($pspell_config); if (!pspell_check($dictionary_link, $words)) { $suggestions = pspell_suggest($dictionary_link, $words); foreach ($suggestions as $suggestion) { echo "Possible spelling: $suggestion<br />"; } } All suggestions are displayed in both cases with 'es' dictionary words increased with MyDict. My question is about pspell ONLY uses words contained in MY dictionary MyDict. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/177449-pspell-with-my-own-dictionary/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.