intelligent comparison of strings in Perl
Ilya Palagin
tux-4CS0UopE6WdBDgjK7y7TUQ at public.gmane.org
Sat Mar 26 22:46:21 UTC 2005
Zbigniew Koziol wrote:
...
>
> I suspect that there are "wiser" Perl modules around there. I would like
> to compare if two very similar strings are bearing in fact the same
> information (with some probabilty, of course, despite they are
> "different" strings).
"The same information" depends on context. Two strings
contain "Toronto" and "Calgary". Do they contain the same info?
No - these are different cities.
Yes - both are good as an example of Canadian city.
The module you need is String::AI
:-)
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list