perl-String-Similarity - Perl extension for calculating the similarity of two strings

Distribution: OpenMandriva Lx 3.0
Repository: OpenMandriva Contrib i586
Package name: perl-String-Similarity
Package version: 1.40.0
Package release: 5-omv2015.0
Package architecture: i586
Package type: rpm
Installed size: 34.74 KB
Download size: 20.21 KB
Official Mirror:
$factor = similarity $string1, $string2, [$limit] 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.



  • perl(String::Similarity) == 1.40.0
  • perl-String-Similarity == 1.40.0-5:2015.0

    Install Howto

    1. Enable OpenMandriva Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-String-Similarity rpm package:
      # urpmi perl-String-Similarity


    • /usr/lib/perl5/vendor_perl/5.20.1/i386-linux-thread-multi/String/
    • /usr/lib/perl5/vendor_perl/5.20.1/i386-linux-thread-multi/auto/String/
    • /usr/lib/perl5/vendor_perl/5.20.1/i386-linux-thread-multi/auto/String/Similarity/
    • /usr/share/doc/perl-String-Similarity/COPYING
    • /usr/share/doc/perl-String-Similarity/Changes
    • /usr/share/doc/perl-String-Similarity/README
    • /usr/share/man/man3/String::Similarity.3pm.xz