diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-09-12 14:03:09 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-09-12 14:03:09 +0200 |
commit | 3cccdc35bc5b4edcc97d486cf9ed50fc7b2ca82a (patch) | |
tree | dead79a7978971ebe80c84b75d2d4559360d5e14 /README | |
parent | 4caa67e1f2ca8ec055acf24f04d99da028e5c06f (diff) |
use Text::Levenshtein(XS) for fuzzy station name matching
Diffstat (limited to 'README')
-rw-r--r-- | README | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 ------------ |