Home arrow Choosing Keywords arrow Matching Strings and Algorithms
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement

Matching Strings and Algorithms


(Page 1 of 5 )

When you go to a search engine and type in a keyword, how does the engine know what to look for?  Even when a word is misspelled, still the results come back, sometimes not how we like, but often pretty close.  How do these search engines compare the input to the database items and return with a result?  Learn about this key part of driving traffic to your site in this article by Dr. Simon White. 


My interest in string similarity stems from a desire for good user interface design. Computers are seen by many as unfriendly, unforgiving beasts that respond unkindly to requests that are unspecific. In this article, I demonstrate how computers can be programmed to be more forgiving of their users’ mistakes, with no additional burden on the user such as learning a special query format. Moreover, the techniques described are very widely applicable and often easy to implement.

Although my interest is in the user-interface, it is not the only place where such techniques can be employed. For example, the Hamming distance (described later) was traditionally used to recover from low-level bit transfer errors in electronic communications. In the future, I believe some of the techniques could be used to aid communication among independently acting computer programs (intelligent agents) as they try to make sense of what another agent ‘said’. But for now, I would like you to think of realigning an ‘unexpected’ input string with an input that is expected, or known to be valid, in the context of a user-interface.

Let me be a little more concrete. When you enter a search string to look for a book at Amazon.com, your input is matched against the descriptions of known products held in a database. It is quite likely that your input does not exactly match any of the ‘expected’ inputs (that is, book titles or authors) in the database. For example, if you enter the string ‘Web Database Applications’, you would like the search to return the book with the title ‘Web Database Applications with PHP and MySQL’, even though it is not an exact match. And you might also expect to see the same book listed if you entered ‘PHP Web Applications’, or even the misspelling ‘Web Aplications’. The task is therefore to find which of the expected strings (in this case product descriptions) are similar, or perhaps most similar, to the user’s input. There are two main classes of algorithms for matching string similarity, equivalence methods and similarity ranking methods.

More Choosing Keywords Articles
More By Simon White

blog comments powered by Disqus

CHOOSING KEYWORDS ARTICLES

- Are Your Visitors Lost?
- Mining YouTube for Keyword Research
- Good Keyword Research Takes Time
- Update Your Keywords
- Who is Competing for Your Keywords?
- Do You Keywords Mean Something Else?
- The Best Keyword is Not One Word
- Consider Searcher Intent in Your Keyword Res...
- Are Your Keywords Too Popular?
- Remove Your Keyword Research Blinders
- Doing Keyword Research with Google Suggest
- Finding Overlooked Keywords
- Use Google for Keyword Traffic Numbers
- Simple Keyword Research with Google
- Explaining Keywords to Your Clients
 
SEO Chat Forums  
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Contact Us 
Site Map 
Request Media Kit
Write For Us Get Paid 
SEO Weekly Newsletter
 
SEO Tools
Adsense Calculator
AdSense Preview
Advanced Meta-Tags
Alexa Rank Tool
Check Server Headers
Class C Checker
Code to Text Ratio
CPM Calculator
Domain Age Check
Domain Typos
Future PageRank
Google Dance
Google Keywords
Google Search
Google Suggest
Google vs Yahoo
Indexed Pages
Keyword Cloud
Keyword Density
Keyword Difficulty
Keyword Optimizer
Keyword Position
Keyword Typos
Link Popularity
Link Price Calculator
Meta Analyzer
Meta Tag Generator
Multiple Link Popularity
Page Comparison
Page Size
PageRank Lookup
PageRank Search
Robots.txt Generator
ROI Calculator 
S.E. Comparison 
S.E. Keyword Position 
Site Link Analyzer 
Spider Simulator 
URL Redirect Check 
URL Rewriting 
Privacy Policy 
Support 


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap
Popular SEO Chat Topics
All Tutorials & Tools
 
SEO Chat is sponsored by:
Close this Sponsor Message