Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

text::levenshteinxs(3pm) [debian man page]

LevenshteinXS(3pm)					User Contributed Perl Documentation					LevenshteinXS(3pm)

NAME
Text::LevenshteinXS - An XS implementation of the Levenshtein edit distance SYNOPSIS
use Text::LevenshteinXS qw(distance); print distance("foo","four"); # prints "2" print distance("foo","bar"); # prints "3" DESCRIPTION
This module implements the Levenshtein edit distance in a XS way. The Levenshtein edit distance is a measure of the degree of proximity between two strings. This distance is the number of substitutions, deletions or insertions ("edits") needed to transform one string into the other one (and vice versa). When two strings have distance 0, they are the same. A good point to start is: <http://www.merriampark.com/ld.htm> CREDITS
All the credits go to Vladimir Levenshtein the author of the algorithm and to Lorenzo Seidenari who made the C implementation <http://www.merriampark.com/ldc.htm> SEE ALSO
Text::Levenshtein , Text::WagnerFischer , Text::Brew , String::Approx AUTHOR
Copyright 2003 Dree Mistrut <dree@friul.it> Modifications Copyright 2004 Josh Goldberg <josh@3io.com> This package is free software and is provided "as is" without express or implied warranty. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2004-06-29 LevenshteinXS(3pm)

Check Out this Related Man Page

Levenshtein(3pm)					User Contributed Perl Documentation					  Levenshtein(3pm)

NAME
Text::Levenshtein - An implementation of the Levenshtein edit distance SYNOPSIS
use Text::Levenshtein qw(distance); print distance("foo","four"); # prints "2" print fastdistance("foo","four"); # prints "2" faster my @words=("four","foo","bar"); my @distances=distance("foo",@words); print "@distances"; # prints "2 0 3" DESCRIPTION
This module implements the Levenshtein edit distance. The Levenshtein edit distance is a measure of the degree of proximity between two strings. This distance is the number of substitutions, deletions or insertions ("edits") needed to transform one string into the other one (and vice versa). When two strings have distance 0, they are the same. A good point to start is: <http://www.merriampark.com/ld.htm> "fastdistance" can be called with two scalars and is faster in most cases. See also Text::LevenshteinXS on CPAN if you do not require a perl-only implementation. It is extremely faster in nearly all cases. See also Text::WagnerFischer on CPAN for a configurable edit distance, i.e. for configurable costs (weights) for the edits. AUTHOR
Copyright 2002 Dree Mistrut <dree@friul.it> This package is free software and is provided "as is" without express or implied warranty. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2009-01-19 Levenshtein(3pm)
Man Page

3 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Dan Gilmor: Key battles forge fate of free software

http://www.siliconvalley.com/mld/siliconvalley/business/columnists/dan_gillmor/5911376.htm FREEDOM DINGED: The free-software movement has surmounted all kinds of obstacles in its short history, moving from a political statement to a prominent position inside the world's largest... (0 Replies)
Discussion started by: Neo
0 Replies

2. Programming

Converting distance list to distance matrix in R

Hi power user, I have this type of data (distance list): file1 A B 10 B C 20 C D 50I want output like this # A B C D A 0 10 30 80 B 10 0 20 70 C 30 20 0 50 D 80 70 50 0 Which is a distance matrix I have tried... (0 Replies)
Discussion started by: anjas
0 Replies

3. Shell Programming and Scripting

Calculate average, azimut and distance

Gents, Please i will to get the distance and azimut from 2 coordinates: Usig excel formula i get the correct values, but i will like to do it using awk. Example A 35089.0 50345.016 9 75 1 2101774 77 70 79 483911.6 2380106.9 137.4 1 1 6 1 A 35089.0 50345.01620 75... (8 Replies)
Discussion started by: jiam912
8 Replies