Sophie

Sophie

distrib > Mageia > cauldron > i586 > by-pkgid > 9cf4e29373ede800bd2fcf57c1c7b0d8

perl-Text-Fuzzy-0.290.0-4.mga10.src.rpm

Description:

This module calculates edit distances between words, and searches arrays
and files to find the nearest entry by edit distance. It handles both byte
strings and character strings (strings containing Unicode), treating each
Unicode character as a single entity.

use Text::Fuzzy;
use utf8;
my $tf = Text::Fuzzy->new ('あいうえお☺');
print $tf->distance ('うえお☺'), "\n";

produces output

Generated packages:

Other version of this rpm: