Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by wfsp (Abbot)
on Sep 09, 2004 at 09:57 UTC ( #389610=note: print w/replies, xml ) Need Help??


in reply to Deciding which word in an array is the closest match to a given word

Do you know all the variations in advance? If you do I would suggest a look up table (hash). The keys would be all the variations you would expect and the value would be whatever is in your array.

  • Comment on Re: 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://389610]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2021-11-27 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?