Perl-Sensitive Sunglasses | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Basically, you're matching abbreviations. So, you need a 2-way mapping between full name and abbreviation. Once you have that, you can do a split, remove periods, and replace using your mapping.
Is this a perfect solution? No. But, it'll get you 80% of the way there ... ------
The idea is a little like C++ templates, except not quite so brain-meltingly complicated. -- TheDamian, Exegesis 6 ... strings and arrays will suffice. As they are easily available as native data types in any sane language, ... - blokhead, speaking on evolutionary algorithms Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified. In reply to Re: Some kind of fuzzy logic.
by dragonchild
|
|