| 1 |
|
| 2 |
Text::LevenshteinXS is an XS implementation of the Levenshtein edit distance in Perl. |
| 3 |
A good point to start is: <http://www.merriampark.com/ld.htm> |
| 4 |
|
| 5 |
See also Text::Levenshtein on CPAN for a pure Perl version of this module. |
| 6 |
|
| 7 |
|
| 8 |
PREREQUISITES |
| 9 |
|
| 10 |
This suite requires Perl 5; I tested it only under Perl 5.6. |
| 11 |
|
| 12 |
Text::LevenshteinXS requires the Test module. |
| 13 |
|
| 14 |
A C compiler. |
| 15 |
|
| 16 |
|
| 17 |
INSTALLATION |
| 18 |
|
| 19 |
You install Text::LevenshteinXS 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::LevenshteinXS 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 |
You need also a C compiler (e.g. Visual C++). |
| 31 |
|
| 32 |
|
| 33 |
DOCUMENTATION |
| 34 |
|
| 35 |
POD format documentation is included in LevenshteinXS.pm. |
| 36 |
POD is readable with the command: |
| 37 |
|
| 38 |
perldoc Text::LevenshteinXS |
| 39 |
|
| 40 |
|
| 41 |
AVAILABILITY |
| 42 |
|
| 43 |
The latest version of Text::LevenshteinXS is available from the |
| 44 |
CPAN <http://search.cpan.org/> |
| 45 |
|
| 46 |
|
| 47 |
COPYRIGHT |
| 48 |
|
| 49 |
Copyright 2003 Dree Mistrut <[email protected]> |
| 50 |
|
| 51 |
This package is free software and is provided "as is" without express |
| 52 |
or implied warranty. You can redistribute it and/or modify it under |
| 53 |
the same terms as Perl itself. |
| 54 |
|