From 3cccdc35bc5b4edcc97d486cf9ed50fc7b2ca82a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 12 Sep 2015 14:03:09 +0200 Subject: use Text::Levenshtein(XS) for fuzzy station name matching --- README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'README') diff --git a/README b/README index 33327b6..43d5eaa 100644 --- a/README +++ b/README @@ -14,8 +14,22 @@ Dependencies * List::Compare * List::MoreUtils * LWP::UserAgent +* Text::LevenshteinXS * XML::LibXML +Note about Text::LevenshteinXS: This module is old and unmaintained, but +appears to be packaged for slightly more distros than its successor +Text::Levenshtein::XS. If it is not available for your distro (and you do +not wish to build it), the following drop-in replacements are available: + +* Text::Levenshtein::XS +* Text::Levenshtein (about 10 times slower than the XS modules) + +To use them, simply run: +> sed -i 's/Text::LevenshteinXS/Text::Levenshtein::XS/g' Build.PL lib/Travel/Status/DE/IRIS/Stations.pm +or +> sed -i 's/Text::LevenshteinXS/Text::Levenshtein/g' Build.PL lib/Travel/Status/DE/IRIS/Stations.pm + Installation ------------ -- cgit v1.2.3