问题
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-disable-default-english-dictionary-in-pspell-and-use-only-custom-dictiona