LED-A: calculating linguistic distances