in reply to String similarity extraction
The examples you give use a non-word character as a delimeter. Is that always the case? If so,
You may want to make a hash of the clantags in any case. You could then use index to find them in names.my @name_parts = split /(\W)/, $name; my $clantag = exists $clanhash{$nameparts[0]} ? $nameparts[0] . $nameparts[1] : $nameparts[1] . $nameparts[2];
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: String similarity extraction
by Braindead_One (Monk) on Jan 11, 2003 at 19:15 UTC |