Returns a word's distance from other words within sentences or phrases from given text