Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Aiheen aloitti: w0kie - huhtikuu 22, 2008, 05:16:55 AP

Otsikko: Dictionary makes a dirty word suggestion
Kirjoitti: w0kie - huhtikuu 22, 2008, 05:16:55 AP
A user of my board typed a slang word "FCC'd" in their message meaning that they had obtained a future cruse credit.  When they did a spell check of their post SMF flagged "FCC'd" as being misspelled and suggested the word "******ed" among other words.  In fact spell check did the same thing with this message.   Is there a way to delete the word "******ed" from the SMF dictionary?
Otsikko: Re: Dictionary makes a dirty word suggestion
Kirjoitti: !Hachi! - huhtikuu 22, 2008, 07:19:25 AP
there is nothing like SMF dictionary SMF use pspell library.
LainaaEnable spell checking - Enable spell checking. You MUST have the pspell library installed on your server and your PHP configuration set up to use the pspell library.

http://docs.simplemachines.org/index.php?topic=120.msg140#msg140
Otsikko: Re: Dictionary makes a dirty word suggestion
Kirjoitti: SleePy - huhtikuu 22, 2008, 12:57:56 IP
As said we don't provide the dictionary, we just make use of it.

There have been talks though that we should apply word censors from the censor list some how to the search to prevent it, but it hasn't made much work yet.

Edit, though I can't get search here to suggest it nor could I get it at my live website :(
Otsikko: Re: Dictionary makes a dirty word suggestion
Kirjoitti: aishaweb - huhtikuu 22, 2008, 01:28:52 IP
Im getting the same.

Otsikko: Re: Dictionary makes a dirty word suggestion
Kirjoitti: Kindred - huhtikuu 22, 2008, 01:41:39 IP
not necessary to post an image with the word...

Again, this is beyond our control. SMF uses the PSpell dictionaries that arre automatically installed by your host and compiled when PHP is run. SMF has nothing to do with the words in that dictionary (although there is a mod to ADD words, I believe)
Otsikko: Re: Dictionary makes a dirty word suggestion
Kirjoitti: SleePy - huhtikuu 22, 2008, 01:45:03 IP
Yes there is a mod to add words.. I don't know how well it would work in reverse though. Seems logical.
Otsikko: Re: Dictionary makes a dirty word suggestion
Kirjoitti: Grudge - huhtikuu 23, 2008, 05:47:33 AP
I would actually argue that we should probably apply our word censor to the output of pSpell and not put in any suggestions that don't pass the censor. Think this could go on the bug tracker for 2.0 IMHO
Otsikko: Re: Dictionary makes a dirty word suggestion
Kirjoitti: metallica48423 - huhtikuu 23, 2008, 01:29:45 IP
Grudge: Bug #882: Search Suggestions sometimes suggests inappropiate things. (http://dev.simplemachines.org/mantis/view.php?id=882) 

To all -- this is not a publically visible bug.