Troubleshooting#
I installed python-Levenshtein but auto does not use it#
This is intentional.
The external Levenshtein package is GPL-2.0-or-later and is explicit-only
in this facade:
from scikitplot.levenshtein import distance
distance("kitten", "sitting", backend="levenshtein")
A warning appears repeatedly during a large rank#
Current ranking resolves backend state per choice. If a selected accelerator fails at runtime, repeated choices can therefore repeat fallback work/warnings.
This is tracked as LV-002. Until the per-operation execution plan lands,
prefer a known-ready backend explicitly in performance-sensitive loops.
My strings look the same but distance is non-zero#
Check Unicode normalization, invisible characters, case and whitespace. The facade intentionally compares exactly what it receives.
Corpus returns fewer than top_k hits#
If the scorer has score_cutoff configured, candidates below the threshold
are removed. top_k is a maximum, not a minimum.