How to use special chars on aspell custom dictionary?
问题 I'm building a "did you mean" funcionality on an internal search engine, using aspell and php (php-pspell). I have a catalog of products and I want the names of those products to be also words in the dictionary so the "did you mean" can suggest'em. The problem is that when I try to create a custom dictionary with PHP Pspell functions, I receive errors when the words contain characters that are not in the a-z range, as numbers, hifens, etc. For example: iphone 3gs: iphone is added smoothly,