Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-String-Approx | Distribution: openSUSE Tumbleweed |
Version: 3.28 | Vendor: openSUSE |
Release: 1.13 | Build date: Mon Apr 17 08:36:07 2017 |
Group: Development/Libraries/Perl | Build host: reproducible |
Size: 117527 | Source RPM: perl-String-Approx-3.28-1.13.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: http://search.cpan.org/dist/String-Approx/ | |
Summary: Perl extension for approximate matching (fuzzy matching) |
String::Approx lets you match and substitute strings approximately. With this you can emulate errors: typing errorrs, speling errors, closely related vocabularies (colour color), genetic mutations (GAG ACT), abbreviations (McScot, MacScot). NOTE: String::Approx suits the task of *string matching*, not *string comparison*, and it works for *strings*, not for *text*. If you want to compare strings for similarity, you probably just want the Levenshtein edit distance (explained below), the Text::Levenshtein and Text::LevenshteinXS modules in CPAN. See also Text::WagnerFischer and Text::PhraseDistance. (There are functions for this in String::Approx, e.g. adist(), but their results sometimes differ from the bare Levenshtein et al.) If you want to compare things like text or source code, consisting of *words* or *tokens* and *phrases* and *sentences*, or *expressions* and *statements*, you should probably use some other tool than String::Approx, like for example the standard UNIX diff(1) tool, or the Algorithm::Diff module from CPAN. The measure of *approximateness* is the _Levenshtein edit distance_. It is the total number of "edits": insertions, word world deletions, monkey money and substitutions sun fun required to transform a string to another string. For example, to transform _"lead"_ into _"gold"_, you need three edits: lead gead goad gold The edit distance of "lead" and "gold" is therefore three, or 75%. *String::Approx* uses the Levenshtein edit distance as its measure, but String::Approx is not well-suited for comparing strings of different length, in other words, if you want a "fuzzy eq", see above. String::Approx is more like regular expressions or index(), it finds substrings that are close matches.>
LGPL-2.0 OR Artistic-2.0
* Mon Apr 17 2017 coolo@suse.com - updated to 3.28 see /usr/share/doc/packages/perl-String-Approx/ChangeLog 2017-04-16 Jarkko Hietaniemi <jhi@iki.fi> * Resolve https://rt.cpan.org/Public/Bug/Display.html?id=121033 Fails tests with no '.' in @INC * Released as 3.28. * Tue Mar 26 2013 pgajdos@suse.com - updated to 3.27: * Resolve https://rt.cpan.org/Ticket/Display.html?id=69029 Do not die (adist()) on empty pattern string. * Resolve https://rt.cpan.org/Ticket/Display.html?id=36707 Do not die on undefined inputs, just return undef. * Resolve https://rt.cpan.org/Ticket/Display.html?id=82341 Explicitly specify the licensing to be Artistic 2 or LGPL 2. * Modernize all the tests to use Test::More. * Add some tests for UTF-8 inputs. * Thu Nov 29 2012 pgajdos@suse.com - Artistic-1.0 or GPL-2.0+ license * Thu Nov 29 2012 pgajdos@suse.com - Artistic-1.0 and GPL-2.0+ license * Wed Dec 01 2010 coolo@novell.com - switch to perl_requires macro * Wed Feb 17 2010 chris@computersalat.de - initial package, version 3.26
/usr/lib/perl5/vendor_perl/5.40.0/riscv64-linux-thread-multi/String /usr/lib/perl5/vendor_perl/5.40.0/riscv64-linux-thread-multi/String/Approx.pm /usr/lib/perl5/vendor_perl/5.40.0/riscv64-linux-thread-multi/auto/String /usr/lib/perl5/vendor_perl/5.40.0/riscv64-linux-thread-multi/auto/String/Approx /usr/lib/perl5/vendor_perl/5.40.0/riscv64-linux-thread-multi/auto/String/Approx/Approx.so /usr/share/doc/packages/perl-String-Approx /usr/share/doc/packages/perl-String-Approx/COPYRIGHT /usr/share/doc/packages/perl-String-Approx/COPYRIGHT.agrep /usr/share/doc/packages/perl-String-Approx/ChangeLog /usr/share/doc/packages/perl-String-Approx/LGPL /usr/share/doc/packages/perl-String-Approx/PROBLEMS /usr/share/doc/packages/perl-String-Approx/README /usr/share/doc/packages/perl-String-Approx/README.apse /usr/share/licenses/perl-String-Approx /usr/share/licenses/perl-String-Approx/Artistic /usr/share/man/man3/String::Approx.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Nov 13 00:41:02 2024