Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Deciding which word in an array is the closest match to a given word

by eserte (Deacon)
on Sep 09, 2004 at 11:59 UTC ( #389632=note: print w/replies, xml ) Need Help??


in reply to Re^2: Deciding which word in an array is the closest match to a given word
in thread Deciding which word in an array is the closest match to a given word

This looks like you need to put some custom logic in it. From your example it looks like the substring "dhc" might be substituted with "Sony camcorder". Maybe you can try to use a number of such mappings to get a canonical form. I can also imagine that dashes and spacing may differ, so strip all non-characters before comparing.
  • Comment on Re^3: Deciding which word in an array is the closest match to a given word

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://389632]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2021-12-02 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (22 votes). Check out past polls.

    Notices?