shemp has asked for the wisdom of the Perl Monks concerning the following question:
With this, i can substring the beginning of each token in the name string, and use %list to find possible keywords matches, then use a Levenshtein distance measure (and other algorithms) to determine the likelihood of what the information is supposed to represent.my %list = ( "ass" => ["ociation", "iates", "embly"], "res" => ["ource", "tatement", "taurant"], etc );
my @matches = $hash_var{/^res/};
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: text string approxiamtions (concept for review)
by gjb (Vicar) on Dec 05, 2002 at 00:25 UTC | |
Re: text string approxiamtions (concept for review)
by BrowserUk (Patriarch) on Dec 05, 2002 at 00:18 UTC | |
Re: text string approxiamtions (concept for review)
by seattlejohn (Deacon) on Dec 05, 2002 at 03:48 UTC | |
by shemp (Deacon) on Dec 05, 2002 at 16:46 UTC | |
by seattlejohn (Deacon) on Dec 05, 2002 at 19:14 UTC | |
by shemp (Deacon) on Dec 05, 2002 at 22:58 UTC | |
Re: text string approxiamtions (concept for review)
by hawtin (Prior) on Dec 05, 2002 at 23:48 UTC |