Text this: Comparative framework for analyzing distance metrics in high-dimensional spaces