Eric Lease Morgan wrote:
> my $integer = unpack( "%32C*", "$author$title" ) % 65535;
If you want these to be repeatable, you should preceded that by:
(a) unicode normalisation
(b) whitespace normalisation
(c) case folding
Probably in that order.
cheers
stuart
--
Stuart Yeates
http://www.nzetc.org/ New Zealand Electronic Text Centre
http://researcharchive.vuw.ac.nz/ Institutional Repository
|