Sophie

Sophie

distrib > Mageia > 9 > x86_64 > media > core-release > by-pkgid > f1237380f0433b33630a5eab68ea7195

perl-Text-Fuzzy-0.290.0-3.mga9.x86_64.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

Sources packages:

Other version of this rpm: