Re[2]: [Biophp-dev] Action plan proposal

biophp-dev@bioinformatics.org biophp-dev@bioinformatics.org
Thu, 8 May 2003 19:49:36 +0200


------------A019010837EB7B10
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

hola,

>This early, I have something for the last group (Andres,
>Frank, etc.) to look at: the xlevdist() method.
although i have absolutely no idea how to assign different costs to different
transformations (im a mathmatical zero-brainer), i got a bit which computes
"classic" levenshtein distances right...from what ive seen on my computer
and the php-cli also with strings above 1024 byte.


p.s.: im outside the university therefore cant use the smtp server,
thats why the mail comes from apu@gmx.li. I hope this is no Problem.


and check what i found in the phpmanual:

---------------------citation--php.manual-----------------------------
This function returns the Levenshtein-Distance between the two argument
strings or -1, if one of the argument strings is longer than the limit
of 255 characters (255 should be more than enough for name or dictionary
comparison, and nobody serious would be doing genetic analysis with PHP).
---------------------citation--php.manual-----------------------------

who wants to be serious anyway?

-- 
Best regards,
 frank                            mailto:asseg@ukl.uni-freiburg.de
------------A019010837EB7B10
Content-Type: application/octet-stream; name="test_ldis.php"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test_ldis.php"

PD9waHANCmluY2x1ZGUoImxldmVuc3RoZWluLnBocCIpOw0KDQokYT0iYWJjZGNmIjsNCiRiPSJh
Y2RlZiI7DQoNCg0KDQplY2hvICJpIHNheTogIi5iaW9waHBfbGRpcygkYSwkYikuIlxuIjsNCmVj
aG8gInBocCBzYXlzOiAiLmxldmVuc2h0ZWluKCRhLCRiKS4iXG4iOw0KZWNobyAiTGVuZ3RoIHN0
cmluZyBzOiAiLnN0cmxlbigkYSkuIlxuIjsNCmVjaG8gIkxlbmd0aCBzdHJpbmcgdDogIi5zdHJs
ZW4oJGIpLiJcbiI7DQoNCj8+


------------A019010837EB7B10
Content-Type: application/octet-stream; name="levensthein.php"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="levensthein.php"

PD9waHANCi8vIHRoZSBhbGdvcml0aG0gaXMgZXhwbGFpbmVkIHBlcmZlY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