This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > Perl > perl-String-Similarity (1.04)

perl-String-Similarity

The similarity-function calculates the similarity index of its two
arguments. A value of 0 means that the strings are entirely different.
A value of 1 means that the strings are identical. Everything else
lies between 0 and 1 and describes the amount of similarity between
the strings.

It roughly works by looking at the smallest number of edits to change
one string into the other.

You can add an optional argument $limit (default 0) that gives the
minimum similarity the two strings must satisfy. similarity stops
analyzing the string as soon as the result drops below the given limit,
in which case the result will be invalid but lower than the given
$limit. You can use this to speed up the common case of searching for
the most similar string from a set by specifing the maximum similarity
found so far.

Maintained by: Nikos Giotis
Keywords: perl,string,similarity
ChangeLog: perl-String-Similarity

Homepage:
https://metacpan.org/pod/String::Similarity

Source Downloads:
String-Similarity-1.04.tar.gz (84936c1d393e92680a5d58039dcb9fd9)

Download SlackBuild:
perl-String-Similarity.tar.gz
perl-String-Similarity.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds