pspell

How to disable default English dictionary in Pspell and use only Custom dictionary?

北城以北 提交于 2019-12-24 16:41:05
问题 I am using php and Pspell to create a custom "did you mean" feature and i need to generate suggestions strictly from the word list with me. Is there a way to turn off suggestions from default English dictionary i am using as a base. I just need pspell to look in the custom dictionary, that's it. 回答1: Based on this page: $dictionary_link = pspell_new_personal("/var/dictionaries/custom_spellings","/var/dictionaries/custom_spellings"); 来源: https://stackoverflow.com/questions/16714362/how-to