|Perl Monk, Perl Meditation|
Deciding which word in an array is the closest match to a given wordby bilbo800 (Initiate)
|on Sep 09, 2004 at 09:32 UTC||Need Help??|
bilbo800 has asked for the
wisdom of the Perl Monks concerning the following question:
A classic html scraping problem, but could not find a spot on solution.
I have a list of products which I collect online prices for from different on line sites. Problem is on some sites the product is spelled ‘sony dhc15E’, on some it’s just ‘dhc15-E’ and on some it’s ‘Sony camcoder 15-e’.
Assuming I have a list of 200 such products, how do I approach the problem of taking the product name from the merchant site and finding the best suitable match in my array of product.