summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-09-12 14:03:09 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-09-12 14:03:09 +0200
commit3cccdc35bc5b4edcc97d486cf9ed50fc7b2ca82a (patch)
treedead79a7978971ebe80c84b75d2d4559360d5e14 /README
parent4caa67e1f2ca8ec055acf24f04d99da028e5c06f (diff)
use Text::Levenshtein(XS) for fuzzy station name matching
Diffstat (limited to 'README')
-rw-r--r--README14
1 files changed, 14 insertions, 0 deletions
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
------------