Simple Machines Community Forum

SMF Development => Feature Requests => Applied or Declined Requests => Topic started by: [Unknown] on December 18, 2004, 06:17:57 PM

Title: Don't spell check ALL CAPS words?
Post by: [Unknown] on December 18, 2004, 06:17:57 PM
Should the spell checker ignore those words which are all caps?  For example:

NTFS LOL LMHO WAP IPB XHTML XSLT

Those all flag the spell checker, but they are spelled correctly.  Perhaps this should be an admin option?  Or just always ignore capped words?

Or is this a waste of time?

-[Unknown]
Title: Re: Don't spell check ALL CAPS words?
Post by: Peter Duggan on December 18, 2004, 07:32:22 PM
I'd go for it! But is it also possible to do something about single-quoted words (or is that not an SMF thing), because every word starting or ending with a single quote comes up as 'wrong'?
Title: Re: Don't spell check ALL CAPS words?
Post by: Alexandre P. on December 19, 2004, 12:24:03 AM
IMO, it should ignore every all caps words.
Title: Re: Don't spell check ALL CAPS words?
Post by: Elijah Bliss on December 19, 2004, 01:34:40 AM
Quote from: [Unknown] on December 18, 2004, 06:17:57 PM
Should the spell checker ignore those words which are all caps?  For example:

NTFS LOL LMHO WAP IPB XHTML XSLT

Those all flag the spell checker, but they are spelled correctly.  Perhaps this should be an admin option?  Or just always ignore capped words?

Or is this a waste of time?

-[Unknown]

Unfortunately I have a plethora of members who type in all caps that are in desperate need of a spell checker. If you did do this I'd like it to be an admin option.
Title: Re: Don't spell check ALL CAPS words?
Post by: Jerry on December 19, 2004, 01:51:20 AM
I think having it as an option would be a nice idea.
Title: Re: Don't spell check ALL CAPS words?
Post by: _complex on December 19, 2004, 02:20:22 AM
Yeah agree having it as an option would be nice :D
Title: Re: Don't spell check ALL CAPS words?
Post by: Anguz on December 19, 2004, 06:49:47 AM
Or maybe a way to add new correct terms to the dictionary? It'd be some work at the very beginning, but after a while, it won't need updating as often.
Title: Re: Don't spell check ALL CAPS words?
Post by: [Unknown] on December 19, 2004, 06:57:52 AM
But what about "DIDT'N" or something, which would be correct capitalized (theoretically) but not lowercase?

-[Unknown]
Title: Re: Don't spell check ALL CAPS words?
Post by: Peter Duggan on December 19, 2004, 07:47:58 AM
Quote from: [Unknown] on December 19, 2004, 06:57:52 AM
But what about "DIDT'N" or something, which would be correct capitalized (theoretically) but not lowercase?

Didn't you mean "DIDN'T"?
Title: Re: Don't spell check ALL CAPS words?
Post by: [Unknown] on December 19, 2004, 07:52:53 AM
Quote from: Peter Duggan on December 19, 2004, 07:47:58 AM
Quote from: [Unknown] on December 19, 2004, 06:57:52 AM
But what about "DIDT'N" or something, which would be correct capitalized (theoretically) but not lowercase?

Didn't you mean "DIDN'T"?

Exactly.  I meant "DIDT'N".... but, if I typed "didt'n" you'd be certain it was a typo.  I just mean that caps vs. lowercase is an important distinction.

-[Unknown]
Title: Re: Don't spell check ALL CAPS words?
Post by: programmer on December 19, 2004, 09:18:39 AM
I think it should definitely be an admin option.  That's what I love about SMF, it's so customizable.   :)
Title: Re: Don't spell check ALL CAPS words?
Post by: Oldiesmann on December 19, 2004, 10:08:57 PM
Admin option would be best. However, it would also be fun to convert messages posted in all caps to something a little less annoying by comparing the message with the strtoupper version of the message and if they're the same, do something mean like this:

convert the message to all lowercase (strtolower (or mb_strtolower for internationalization))
capitalize only the first letter of each word (convert the entire thing to lowercase, then use ucwords)
throw an error message at them and don't let them post until they fix it...
Title: Re: Don't spell check ALL CAPS words?
Post by: [Unknown] on December 20, 2004, 04:57:51 AM
The mb_str* functions, to my recollection, can be transparently used instead of the str* functions... not sure, but I think so...

-[Unknown]
Title: Re: Don't spell check ALL CAPS words?
Post by: Elijah Bliss on December 21, 2004, 09:52:57 PM
Quote from: Oldiesmann on December 19, 2004, 10:08:57 PM
Admin option would be best. However, it would also be fun to convert messages posted in all caps to something a little less annoying by comparing the message with the strtoupper version of the message and if they're the same, do something mean like this:

convert the message to all lowercase (strtolower (or mb_strtolower for internationalization))
capitalize only the first letter of each word (convert the entire thing to lowercase, then use ucwords)
throw an error message at them and don't let them post until they fix it...

I'd love to have that feature.