INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Feature request: Search "its" finds both results: "its" and "it's"  (Read 897 times)

chriswale

  • World Citizen
  • ***
  • Posts: 173

Search Functionality Request

I would like to request that the search in finds alternate words that have the same meaning.
Example:
"its" - without an apostrophe
"it's" - with the apostrophe

If I search "its a dream" I would like results to show both:
"its a dream" and "it's a dream" results.

There are many other examples of where this would be useful, some more reliable than others:

         "feat." > "ft." > "featuring"
         "shaking" > "shakin" > "shakin' "
         " its " > " It's "
         " im " > " I'm "
         " ive " > " I've "
         " ill " > " I'll " (unreliable)
         " hes " > " He's "
         " shes " > " She's "
         " shell " > " She'll " (unreliable)
         " hell " > " He'll "  (unreliable)
         " dont " > " Don't "
         " doesnt " > " Doesn't "
         " cant " > " Can't "
         " whats " > " what's "
         " were " > " We're " (unreliable)
         " weve " > " We've "
         " thats " > " That's "
         " theres " > " There's "
         " heres " > " Here's "
         " lets " > " Let's "
         " aint " > " Ain't "
         " Youve " > " You've "
         " Youre " > " You're "
         " wasnt " > " Wasn't "
         " nobodys " > " nobody's "
         " whos " > " Who's "
         " wholl " > " Who'll "
         " everythings " > " Everything's "
         " everybodys " > " Everybody's "
         " wont " > " Won't "
         "isnt" > "isn't"   
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Feature request: Search "its" finds both results: "its" and "it's"
« Reply #1 on: August 25, 2009, 07:52:42 pm »

Instead of enumerating all possibilities (which would be quite large), the simpler method would be to normalize search terms, removing punctuation.  That solves the 20,000 vs. 20000 Leagues Under the Sea problem.  User's shouldn't have to care about such language markers, unless they are strictly requested.
Logged
The opinions I express represent my own folly.

chriswale

  • World Citizen
  • ***
  • Posts: 173
Re: Feature request: Search "its" finds both results: "its" and "it's"
« Reply #2 on: August 26, 2009, 03:48:35 am »

Absolutely! My examples were simple for the purpose of this feature proposal.

"its" finds "its","it's"
"it's" finds "it's", "its"
Logged
Pages: [1]   Go Up