| 1 |
|
| 2 |
Text::Levenshtein is an implementation of the Levenshtein edit distance in Perl. |
| 3 |
If you're not familiar with this algorithm, a good place to start is |
| 4 |
the wikipedia page: |
| 5 |
|
| 6 |
http://en.wikipedia.org/wiki/Levenshtein_distance |
| 7 |
|
| 8 |
The SEE ALSO section in the documentation for this module lists |
| 9 |
other modules on CPAN that calculate edit distances for two strings. |
| 10 |
|
| 11 |
|
| 12 |
PREREQUISITES |
| 13 |
|
| 14 |
This suite requires Perl 5.6 or later, and only uses core modules. |
| 15 |
|
| 16 |
|
| 17 |
INSTALLATION |
| 18 |
|
| 19 |
You install Text::Levenshtein by running these commands in the *nix environment: |
| 20 |
|
| 21 |
perl Makefile.PL |
| 22 |
make |
| 23 |
make test (optional) |
| 24 |
make install |
| 25 |
|
| 26 |
To install Text::Levenshtein in the Win32 environment, use nmake instead of make. |
| 27 |
nmake is available for free (in a self extracting executable): |
| 28 |
<http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe> |
| 29 |
After download and inflate, put nmake.exe and nmake.err in c:\windows\command . |
| 30 |
|
| 31 |
|
| 32 |
DOCUMENTATION |
| 33 |
|
| 34 |
POD format documentation is included in Levenshtein.pm. |
| 35 |
You can read the documentation online: |
| 36 |
|
| 37 |
https://metacpan.org/pod/Text::Levenshtein |
| 38 |
|
| 39 |
Or read it on your terminal, using the perldoc command: |
| 40 |
|
| 41 |
perldoc Text::Levenshtein |
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
AVAILABILITY |
| 46 |
|
| 47 |
The latest version of Text::Levenshtein is available from CPAN |
| 48 |
|
| 49 |
http://search.cpan.org/ |
| 50 |
https://metacpan.org/pod/Text::Levenshtein |
| 51 |
|
| 52 |
|
| 53 |
COPYRIGHT |
| 54 |
|
| 55 |
Copyright 2002 Dree Mistrut <[email protected]> |
| 56 |
Copyright (C) 2004-2014 Josh Goldberg. |
| 57 |
Copyright (C) 2014- Neil Bowers. |
| 58 |
|
| 59 |
This package is free software and is provided "as is" without express |
| 60 |
or implied warranty. You can redistribute it and/or modify it under |
| 61 |
the same terms as Perl itself. |
| 62 |
|
| 63 |
This module is now maintained by Neil Bowers <[email protected]> |