libtext-levenshteinxs-perl/README

55 lines
1.4 KiB
Plaintext
Raw Normal View History

2022-09-23 16:38:39 +08:00
Text::LevenshteinXS is an XS implementation of the Levenshtein edit distance in Perl.
A good point to start is: <http://www.merriampark.com/ld.htm>
See also Text::Levenshtein on CPAN for a pure Perl version of this module.
PREREQUISITES
This suite requires Perl 5; I tested it only under Perl 5.6.
Text::LevenshteinXS requires the Test module.
A C compiler.
INSTALLATION
You install Text::LevenshteinXS by running these commands in the *nix environment:
perl Makefile.PL
make
make test (optional)
make install
To install Text::LevenshteinXS in the Win32 environment, use nmake instead of make.
nmake is available for free (in a self extracting executable):
<http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe>
After download and inflate, put nmake.exe and nmake.err in c:\windows\command .
You need also a C compiler (e.g. Visual C++).
DOCUMENTATION
POD format documentation is included in LevenshteinXS.pm.
POD is readable with the command:
perldoc Text::LevenshteinXS
AVAILABILITY
The latest version of Text::LevenshteinXS is available from the
CPAN <http://search.cpan.org/>
COPYRIGHT
Copyright 2003 Dree Mistrut <dree@friul.it>
This package is free software and is provided "as is" without express
or implied warranty. You can redistribute it and/or modify it under
the same terms as Perl itself.