Name : perl-Text-Fuzzy-PP
| |
Version : 0.01
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.1.1
| Date : 2023-01-27 18:05:12
|
Group : Development/Libraries/Perl
| Source RPM : perl-Text-Fuzzy-PP-0.01-lp154.1.1.src.rpm
|
Size : 0.04 MB
| |
Packager : https://www_suse_com/
| |
Summary : partial or fuzzy string matching using edit distances (Pure Perl)
|
Description :
This module is a drop in, pure perl, substitute for the Text::Fuzzy manpage. All documentation is taken directly from the Text::Fuzzy manpage.
This module calculates the Levenshtein edit distance between words, and does edit-distance-based searching of arrays and files to find the nearest entry. It can handle either byte strings or character strings (strings containing Unicode), treating each Unicode character as a single entity.
It is designed for high performance in searching for the nearest to a particular search term over an array of words or a file, by reducing the number of calculations which needs to be performed.
It supports either bytewise edit distances or Unicode-based edit distances:
use utf8; my $tf = Text::Fuzzy::PP->new (\'あいうえお☺\'); print $tf->distance (\'うえお☺\'), \"\ \";
The default edit distance is the Levenshtein edit distance, which applies an equal weight of one to additions (\'cat\' -> \'cart\'), substitutions (\'cat\' -> \'cut\'), and deletions (\'carp\' -> \'cap\'). Optionally, the Damerau-Levenshtein edit distance, which additionally allows transpositions (\'salt\' -> \'slat\') may be selected using the method the /transpositions_ok manpage.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.4/noarch |