Advertisement:

Author Topic: Don't spell check ALL CAPS words?  (Read 4625 times)

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Don't spell check ALL CAPS words?
« 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]

Offline Peter Duggan

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,664
  • Gender: Male
    • Peat Stack or Pete's Tack?
Re: Don't spell check ALL CAPS words?
« Reply #1 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'?

Offline Alexandre P.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,044
  • Gender: Male
    • LivreSansPage
Re: Don't spell check ALL CAPS words?
« Reply #2 on: December 19, 2004, 12:24:03 AM »
IMO, it should ignore every all caps words.
Aucun support par M.P., courriel ou messagerie instantanée / No support by P.M., email or I.M.

Offline Elijah Bliss

  • Sophist Member
  • *****
  • Posts: 1,340
Re: Don't spell check ALL CAPS words?
« Reply #3 on: December 19, 2004, 01:34:40 AM »
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.

Offline Jerry

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,903
  • Gender: Male
  • What? I can't hear you over my awesomeness!!
    • PlanetSMF
Re: Don't spell check ALL CAPS words?
« Reply #4 on: December 19, 2004, 01:51:20 AM »
I think having it as an option would be a nice idea.
- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

Offline _complex

  • Jr. Member
  • **
  • Posts: 247
  • Gender: Male
  • ha...yooo
    • Checkit
Re: Don't spell check ALL CAPS words?
« Reply #5 on: December 19, 2004, 02:20:22 AM »
Yeah agree having it as an option would be nice :D

Offline Anguz

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,430
  • Gender: Male
    • cristianlavaque.com
Re: Don't spell check ALL CAPS words?
« Reply #6 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.
Cristián Lávaque http://cristianlavaque.com

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Don't spell check ALL CAPS words?
« Reply #7 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]

Offline Peter Duggan

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,664
  • Gender: Male
    • Peat Stack or Pete's Tack?
Re: Don't spell check ALL CAPS words?
« Reply #8 on: December 19, 2004, 07:47:58 AM »
But what about "DIDT'N" or something, which would be correct capitalized (theoretically) but not lowercase?

Didn't you mean "DIDN'T"?

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Don't spell check ALL CAPS words?
« Reply #9 on: December 19, 2004, 07:52:53 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]

Offline programmer

  • Newbie
  • *
  • Posts: 7
Re: Don't spell check ALL CAPS words?
« Reply #10 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.   :)

Offline Oldiesmann

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,821
  • Gender: Male
  • Ask me about the function DB :)
    • oldiesmann on Facebook
    • Oldiesmann on GitHub
    • http://www.linkedin.com/in/michaeleshom on LinkedIn
    • @oldiesmann on Twitter
    • Archie Comics Fan Forum
Re: Don't spell check ALL CAPS words?
« Reply #11 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...
Michael Eshom

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Don't spell check ALL CAPS words?
« Reply #12 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]

Offline Elijah Bliss

  • Sophist Member
  • *****
  • Posts: 1,340
Re: Don't spell check ALL CAPS words?
« Reply #13 on: December 21, 2004, 09:52: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.