Text--Fuzzy--PP:纯Perl文字

时间:2021-05-07 21:02:51
【文件属性】:
文件名称:Text--Fuzzy--PP:纯Perl文字
文件大小:24KB
文件格式:ZIP
更新时间:2021-05-07 21:02:51
Perl 名称 Text :: Fuzzy :: PP-使用编辑距离进行部分或模糊字符串匹配(Pure Perl) 概要 use Text::Fuzzy::PP; my $tf = Text::Fuzzy::PP->new ('boboon'); print "Distance is ", $tf->distance ('babboon'), "\n"; # Prints "Distance is 2" my @words = qw/the quick brown fox jumped over the lazy dog/; my $nearest = $tf->nearest (\@words); print "Nearest array entry is ", $words[$nearest], "\n"; # Prints "Nearest array entry is brown" 描述 该
【文件预览】:
Text--Fuzzy--PP-master
----.travis.yml(686B)
----MANIFEST(341B)
----README.pod(7KB)
----t()
--------text-fuzzy()
--------01_imports.t(110B)
--------compatability()
--------00_compile.t(90B)
----LICENSE(18KB)
----MANIFEST.SKIP(106B)
----Makefile.PL(649B)
----.gitignore(116B)
----lib()
--------Text()
----Changes(102B)

网友评论