Working with Text-Based Distances