ugexe / text--levenshtein--xs Goto Github PK
View Code? Open in Web Editor NEWCPAN Module - Text::Levenshtein::XS
License: Other
CPAN Module - Text::Levenshtein::XS
License: Other
Now using version 0.501 of Text::Levenshtein::XS
from CPAN
.
The fix for #10 leads to the correct result when using:
distance('ACGTAG', 'AGTAG', 2) # returns 1
But if the cut-off is the same as the result the bug still occurs:
distance('ACGTAG', 'AGTAG', 1) # should be 1 is undef
I'm having fun swapping issues :)
distance('cuba','thing'); #undef, should be 5
distance('cuba','thing',10); #5
I use Text::Levenshtein::XS
on Ubuntu 15.04 (64bit) installed via CPAN:
cpan[1]> i Text::Levenshtein::XS
Going to read '/home/markus/.cpan/Metadata'
Database was generated on Thu, 27 Aug 2015 15:41:02 GMT
Module id = Text::Levenshtein::XS
CPAN_USERID UGEXE (Nick Logan <[email protected]>)
CPAN_VERSION 0.43
CPAN_FILE U/UG/UGEXE/Text-Levenshtein-XS-0.43.tar.gz
UPLOAD_DATE 2014-10-15
MANPAGE Text::Levenshtein::XS - Calculate edit distance based on insertion, deletion, substitution, and transposition
INST_FILE /home/markus/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Text/Levenshtein/XS.pm
INST_VERSION 0.43
When passing a third parameter to the distance
function there are two kinds of unexpected behaviour:
distance('ACGTAG', 'AGTAG', 2) # should be 1 is undef
distance('ACGTAG', 'TCGG', 2) # is 3 should be undef
Unfortunately I could not verify that this problem still exists in version 0.46 on GitHub as I was unable to compile.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.